Skip to content

Commit

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

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

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

0 comments on commit 9877816

Please sign in to comment.