Skip to content

Commit

Permalink
test: fcm url test
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed Jun 3, 2024
1 parent 42f6a15 commit be20767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/firebase-messaging-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ self.addEventListener('notificationclick', function (event) {
event.notification.close();

// 이동할 url
const urlToOpen = event.notification.data.click_action;
const urlToOpen = event.notification.data.targetUrl;

// 클라이언트에 해당 사이트가 열려 있는지 체크
const promiseChain = clients
Expand Down

0 comments on commit be20767

Please sign in to comment.