This commit is contained in:
parent
e9a41233b5
commit
360e01ffb8
|
@ -6,7 +6,7 @@ import { HandlePush } from './push.js';
|
|||
|
||||
const router = express.Router();
|
||||
|
||||
router.post('/push', HandlePush);
|
||||
router.get('/push', HandlePush);
|
||||
|
||||
router.get('/version', async (req, res) => {
|
||||
try {
|
||||
|
|
|
@ -3,7 +3,6 @@ import path from 'path'; // path 모듈을 가져옵니다.
|
|||
import { fileURLToPath } from 'url'; // ES 모듈에서 파일 경로를 얻기 위해 필요
|
||||
import { bundleID, apnKey, apnKeyID, apnTeamID } from '../private/config.js';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user