diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 22:33:32 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 22:33:32 +0800 |
| commit | 3e682cc889c5aa7b1d33c20acfd3d9bc2ea5d6dd (patch) | |
| tree | c839a9fef8cb9f8be719770f3e45a6683e49c724 | |
| parent | 7ef58df58ab79594be08461936665aebe75de797 (diff) | |
pls work
| -rw-r--r-- | frontend/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js index 6f73e0a..0b5d3c5 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -27,7 +27,7 @@ async function subscribe() { }); console.log(subscription); - await fetch(`${API_URL}/notif_subscribe`, { + await fetch(`${API_URL}/notifsubscribe`, { method: 'POST', body: JSON.stringify(subscription), headers: { |
