[] push 수정
All checks were successful
JJ_Back/pipeline/head This commit looks good

This commit is contained in:
김선규 2024-08-20 15:01:30 +09:00
parent d2835a39de
commit e9a41233b5

View File

@ -1,7 +1,12 @@
import apn from 'apn'; import apn from 'apn';
import path from 'path'; // path 모듈을 가져옵니다. import path from 'path'; // path 모듈을 가져옵니다.
import { fileURLToPath } from 'url'; // ES 모듈에서 파일 경로를 얻기 위해 필요
import { bundleID, apnKey, apnKeyID, apnTeamID } from '../private/config.js'; import { bundleID, apnKey, apnKeyID, apnTeamID } from '../private/config.js';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// APNs 옵션 설정 // APNs 옵션 설정
const options = { const options = {
token: { token: {