From 1d96fea188f43554f6d434ffc0302576c1a40af2 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Mon, 29 Dec 2025 21:38:48 +0800 Subject: changes to domain cookie again --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/main.py b/backend/main.py index a3e209d..49e1953 100644 --- a/backend/main.py +++ b/backend/main.py @@ -457,5 +457,5 @@ def uri_to_information(data: InformationRequestData, response: fastapi.Response, @app.post("/notif_subscribe") def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response): endpoint = notif.subscribe(data) - response.set_cookie("subscription_endpoint", endpoint, domain=".laundryweb.altafcreator.com") + response.set_cookie("subscription_endpoint", endpoint, domain=".laundryweb.altafcreator.com", samesite="none", secure=True) response.status_code = fastapi.status.HTTP_200_OK -- cgit v1.2.3