Skip to content

Commit 0cab83b

Browse files
committed
remove: 미사용 코드 제거
1 parent a3338c2 commit 0cab83b

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

public/sw.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,7 @@ self.addEventListener('notificationclick', event => {
166166
event.waitUntil(handleAction());
167167
}
168168

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-
}
169+
178170
});
179171

180172
// 백그라운드 동기화 (선택사항)

0 commit comments

Comments
 (0)