diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 22:56:22 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 22:56:22 +0800 |
| commit | b6b8f5550360b348fd7939e7b82d4ab89822025f (patch) | |
| tree | 0b72032124ac175768fe6bfe55a6ebfb016baa81 /frontend | |
| parent | b16a63b2033d24670f71e6407e2a4ccce95be153 (diff) | |
God help me
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/main.js | 1 |
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", |
