summaryrefslogtreecommitdiff
path: root/frontend/main.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-29 22:56:22 +0800
committeraltaf-creator <dev@altafcreator.com>2025-12-29 22:56:22 +0800
commitb6b8f5550360b348fd7939e7b82d4ab89822025f (patch)
tree0b72032124ac175768fe6bfe55a6ebfb016baa81 /frontend/main.js
parentb16a63b2033d24670f71e6407e2a4ccce95be153 (diff)
God help me
Diffstat (limited to 'frontend/main.js')
-rw-r--r--frontend/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/main.js b/frontend/main.js
index 0bf2944..5c72bef 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -29,6 +29,7 @@ async function subscribe() {
await fetch(`${API_URL}/notifsubscribe`, {
method: 'POST',
+ credentials: "include",
body: JSON.stringify(subscription),
headers: {
"Content-Type": "application/json",