Skip to content

Commit

Permalink
chore(develop): url 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Doyu-Lee committed Jan 13, 2024
1 parent 5d8e0ef commit d793e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/firebase-messaging-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ self.addEventListener("notificationclick", (event) => {
const client = windowClients[i];

if (
new URL(client.url).hostname.includes("localhost") &&
new URL(client.url).hostname.includes("docent") &&
"focus" in client
) {
foundWindowClient = client;
Expand Down
4 changes: 1 addition & 3 deletions registerServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ export function SW() {
const client = windowClients[i];

if (
new URL(client.url).hostname.includes(
"localhost",
) &&
new URL(client.url).hostname.includes("docent") &&
"focus" in client
) {
foundWindowClient = client;
Expand Down

0 comments on commit d793e3f

Please sign in to comment.