From b286c05339a66d77cf1445c6cfb3d1fefb086bcc Mon Sep 17 00:00:00 2001 From: themattinthehatt Date: Sun, 8 Dec 2024 18:10:32 -0500 Subject: [PATCH] do not require secure cookies for LS (see #119) --- lightning_pose_app/label_studio/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning_pose_app/label_studio/component.py b/lightning_pose_app/label_studio/component.py index 65733c7..fa94e9b 100644 --- a/lightning_pose_app/label_studio/component.py +++ b/lightning_pose_app/label_studio/component.py @@ -84,7 +84,7 @@ def _start_label_studio(self): "LABEL_STUDIO_BASE_DATA_DIR": abspath(self.database_dir), "LABEL_STUDIO_SESSION_COOKIE_SAMESITE": "Lax", "LABEL_STUDIO_CSRF_COOKIE_SAMESITE": "Lax", - "LABEL_STUDIO_SESSION_COOKIE_SECURE": "1", + "LABEL_STUDIO_SESSION_COOKIE_SECURE": "0", "LABEL_STUDIO_USE_ENFORCE_CSRF_CHECKS": "0", }, )