Skip to content

Commit

Permalink
Set force_https to false in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Jun 20, 2023
1 parent ba3b963 commit 37698f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/config.py
Expand Up @@ -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 = {
Expand All @@ -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,
}

#
Expand Down

0 comments on commit 37698f2

Please sign in to comment.