From 5a1cfb7c71d1ae363c58c987d5e0fd5de3dd3797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mih=C3=A1lik?= Date: Sun, 15 Dec 2024 13:23:59 +0100 Subject: [PATCH] Allow frontend to all api directly instead of going through next rewrite --- webstrom/settings_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webstrom/settings_test.py b/webstrom/settings_test.py index 478dbfc..f3d8ca6 100644 --- a/webstrom/settings_test.py +++ b/webstrom/settings_test.py @@ -5,10 +5,11 @@ DEBUG = False ALLOWED_HOSTS = [ - "localhost", "test.strom.sk", ] +APPEND_SLASH = False + CSRF_TRUSTED_ORIGINS = [ "https://test.strom.sk", ]