We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3338c2 commit 0cab83bCopy full SHA for 0cab83b
1 file changed
public/sw.js
@@ -166,15 +166,7 @@ self.addEventListener('notificationclick', event => {
166
event.waitUntil(handleAction());
167
}
168
169
- // 알림 읽음 처리 (선택사항)
170
- if (event.notification.data?.notificationId) {
171
- fetch(`/api/v1/notifications/read/${event.notification.data.notificationId}`, {
172
- method: 'POST',
173
- credentials: 'include'
174
- }).catch(error => {
175
- console.error('알림 읽음 처리 실패:', error);
176
- });
177
- }
+
178
});
179
180
// 백그라운드 동기화 (선택사항)
0 commit comments