From 88508381f52be607093382d7938c27a85b2c15ef Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Mon, 29 Dec 2025 22:23:41 +0800 Subject: ain't no way --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index aed27a3..f52b91c 100644 --- a/backend/main.py +++ b/backend/main.py @@ -456,6 +456,6 @@ def uri_to_information(data: InformationRequestData, response: fastapi.Response, # --- subscribe @app.post("/notif_subscribe") def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response): - endpoint = notif.subscribe(data) + endpoint = notif.subscribe(data)[1:-1] response.set_cookie(key="subscription_endpoint", value=endpoint, secure=True, max_age=COOKIE_MAX_AGE)#, domain="backend.laundryweb.altafcreator.com", samesite="none", secure=True) response.status_code = fastapi.status.HTTP_200_OK -- cgit v1.2.3