diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 21:38:48 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 21:38:48 +0800 |
| commit | 1d96fea188f43554f6d434ffc0302576c1a40af2 (patch) | |
| tree | 56aa33728fd4ddb0522cd8ff4b0c95b140b793f0 /backend | |
| parent | 51ca2870c240d96c08ffe5655c4035f0f6bc10db (diff) | |
changes to domain cookie again
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
