From 84ed966f3b305ecff3d43d2d94f38adea948fb29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de>
Date: Fri, 14 Jun 2024 17:20:38 +0200
Subject: [PATCH] Fix cookie domain for development

---
 config/api_example_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/api_example_config.py b/config/api_example_config.py
index 41680c5..259fea6 100644
--- a/config/api_example_config.py
+++ b/config/api_example_config.py
@@ -12,7 +12,7 @@ FILE_PATH_PREFIX = "https://video.fsmpi.rwth-aachen.de/files/"
 # While the frontend and api are on different subdomains, that still counts as 'same-site'
 COOKIES_SAMESITE = "strict"
 COOKIES_SECURE = False
-COOKIES_DOMAIN = ".video.fsmpi.rwth-aachen.de"
+COOKIES_DOMAIN = ""
 
 # These are flask's options for the session cookie
 SESSION_COOKIE_SAMESITE = COOKIES_SAMESITE
-- 
GitLab