From b6b8f5550360b348fd7939e7b82d4ab89822025f Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Mon, 29 Dec 2025 22:56:22 +0800 Subject: God help me --- frontend/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend/main.js') 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", -- cgit v1.2.3