From 7ee58ce501de86fa906a26498c96fb79b5e947d7 Mon Sep 17 00:00:00 2001 From: ThePetrovich Date: Tue, 1 Jul 2025 22:08:38 +0800 Subject: [PATCH] fix trusted origins default --- testapi/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testapi/settings.py b/testapi/settings.py index 43bf2ca..6e518bd 100644 --- a/testapi/settings.py +++ b/testapi/settings.py @@ -191,6 +191,6 @@ CSRF_COOKIE_SAMESITE = 'None' # temp CSRF_COOKIE_SECURE = False SESSION_COOKIE_SAMESITE = 'None' # temp SESSION_COOKIE_SECURE = False -CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split(',') +CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', 'http://localhost:5173').split(',')