From 37698f2ce5c6a5c353557fe5f39413e6260597a5 Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Tue, 20 Jun 2023 16:51:06 +0200 Subject: [PATCH] Set force_https to false in dev mode --- superset/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/config.py b/superset/config.py index 9ff7005395ad9..3334a55948067 100644 --- a/superset/config.py +++ b/superset/config.py @@ -1381,7 +1381,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument }, "content_security_policy_nonce_in": ["script-src"], "force_https": False, - "force_https_permanent": False, } # React requires `eval` to work correctly in dev mode TALISMAN_DEV_CONFIG = { @@ -1399,6 +1398,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"], }, "content_security_policy_nonce_in": ["script-src"], + "force_https": False, } #