diff --git a/frontend/public/serviceWorkerRegistration.js b/frontend/public/serviceWorkerRegistration.js index d5fd0c6..62e7a2a 100644 --- a/frontend/public/serviceWorkerRegistration.js +++ b/frontend/public/serviceWorkerRegistration.js @@ -17,7 +17,7 @@ const messaging = getMessaging(firebaseApp); const registerServiceWorker = async () => { if (!('serviceWorker' in navigator)) { - console.warn('현재 브라우저에서 Service Worker를 지원하지 않습니다.'); + console.warn('현재 브라우저에서 서비스 워커를 지원하지 않습니다.'); return; } diff --git a/frontend/src/api/firebaseConfig.ts b/frontend/src/api/firebaseConfig.ts index 59d7628..3e71c54 100644 --- a/frontend/src/api/firebaseConfig.ts +++ b/frontend/src/api/firebaseConfig.ts @@ -50,9 +50,6 @@ const getFcmToken = async () => { const handleForegroundMessages = () => { onMessage(messaging, (payload) => { - console.log('onMessage'); - console.log(payload); - if (!payload.data) return; console.log(payload.data); diff --git a/frontend/src/pages/FirebaseTest.tsx b/frontend/src/pages/FirebaseTest.tsx index 906ef2e..cdae563 100644 --- a/frontend/src/pages/FirebaseTest.tsx +++ b/frontend/src/pages/FirebaseTest.tsx @@ -7,7 +7,6 @@ export default function FirebaseTest() { const fcmToken = await getFcmToken(); if (fcmToken) { - console.log(fcmToken); await saveFcmToken(fcmToken); return; }