Skip to content

Commit

Permalink
fix: port
Browse files Browse the repository at this point in the history
  • Loading branch information
ptyoiy committed Jul 3, 2024
1 parent 5c660c6 commit ff896a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/firebaseSW.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ self.addEventListener('notificationclick', (event) => {
if (!clientFound) {
clients
.openWindow(
`https://203.253.21.193:8080/${type === 'events' ? 'main' : 'notification'}?${type}=${id}`
`https://203.253.21.193/${type === 'events' ? 'main' : 'notification'}?${type}=${id}`
);
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function App() {
const regist = async () => {
console.log(
'unreg:',
await navigator.serviceWorker.getRegistration('https://203.253.21.193:8080/public/')
await navigator.serviceWorker.getRegistration('https://203.253.21.193/public/')
);
registration = await navigator.serviceWorker.register('/public/firebaseSW.js');
if (registration) {
Expand Down

0 comments on commit ff896a7

Please sign in to comment.