mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: Un-revert enabling CSP by default (#24543)
This commit is contained in:
committed by
GitHub
parent
bb1db9e86f
commit
38df1a873f
@@ -606,7 +606,11 @@ class SupersetAppInitializer: # pylint: disable=too-many-public-methods
|
||||
|
||||
# Talisman
|
||||
talisman_enabled = self.config["TALISMAN_ENABLED"]
|
||||
talisman_config = self.config["TALISMAN_CONFIG"]
|
||||
talisman_config = (
|
||||
self.config["TALISMAN_DEV_CONFIG"]
|
||||
if self.superset_app.debug
|
||||
else self.config["TALISMAN_CONFIG"]
|
||||
)
|
||||
csp_warning = self.config["CONTENT_SECURITY_POLICY_WARNING"]
|
||||
|
||||
if talisman_enabled:
|
||||
|
||||
Reference in New Issue
Block a user