summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",