fix(WEB): FCM 초기화 및 프록시 경로 수정

- FCMProvider를 layout.tsx에 추가 (import만 되고 사용 안 됨 → 수정)
- fcm.ts proxyBasePath: /api/proxy/v1 → /api/proxy (경로 중복 수정)
- .env.production 환경변수 이름 동기화
This commit is contained in:
2026-01-07 15:46:17 +09:00
parent c367ba4ad9
commit 0d4e6ee7ea
3 changed files with 16 additions and 7 deletions

View File

@@ -40,7 +40,8 @@ declare global {
const CONFIG = {
// Next.js 프록시 경로 (HttpOnly 쿠키 자동 포함)
proxyBasePath: '/api/proxy/v1',
// NOTE: /api/proxy 사용 - 프록시가 자동으로 /api/v1/ 추가함
proxyBasePath: '/api/proxy',
fcmTokenKey: 'fcm_token',
soundBasePath: '/sounds/',
defaultSound: 'default',