Skip to content

Commit

Permalink
Merge pull request #358 from woowacourse-teams/fix/#357
Browse files Browse the repository at this point in the history
fix: serviceWorker의 register의 경로 수정
  • Loading branch information
jaeml06 authored Aug 16, 2024
2 parents 4c6d543 + 178ef2c commit 7b276fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (process.env.REACT_APP_GOOGLE_ANALYTICS) {

if ('serviceWorker' in navigator) {
navigator.serviceWorker
.register('/firebase-messaging-sw.js')
.register('./firebase-messaging-sw.js')
.then((registration) => {
console.log('Service Worker registered with scope:', registration.scope);
})
Expand Down

0 comments on commit 7b276fd

Please sign in to comment.