From 21762a2d27e8d7de1ac04703b826b319e6de7b07 Mon Sep 17 00:00:00 2001 From: "seonkyu.kim" Date: Tue, 20 Aug 2024 14:48:02 +0900 Subject: [PATCH] =?UTF-8?q?[=E2=9C=A8]=20push=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/push.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/push.js b/apps/push.js index d1d8a26..27e9a4f 100644 --- a/apps/push.js +++ b/apps/push.js @@ -4,7 +4,8 @@ import { bundleID, apnKey, apnKeyID, apnTeamID } from '../private/config.js'; // APNs 옵션 설정 const options = { token: { - key: `../private/${apnKey}`, // 다운로드한 .p8 파일 경로 + // key: `../private/${apnKey}`, // 다운로드한 .p8 파일 경로 + key: path.join(__dirname, '../private', apnKey), // 절대 경로로 변경 keyId: apnKeyID, // Apple Developer Console에서 얻은 키 ID teamId: apnTeamID, // Apple Developer Console에서 얻은 팀 ID },