Skip to content

Commit

Permalink
chore: [ZNO-2993] Removed content_security_policy_nonce_in setting fr…
Browse files Browse the repository at this point in the history
…om talisman config
  • Loading branch information
NikolayBorovenskiy committed Sep 9, 2024
1 parent 36ef5ef commit d362a3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"style-src": ["'self'", "'unsafe-inline'"],
"script-src": ["'self'", "'unsafe-inline'", "'strict-dynamic'"],
},
"content_security_policy_nonce_in": ["script-src"],
"force_https": False,
}
# React requires `eval` to work correctly in dev mode
Expand All @@ -1445,7 +1444,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"style-src": ["'self'", "'unsafe-inline'"],
"script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
},
"content_security_policy_nonce_in": ["script-src"],
"force_https": False,
}

Expand Down

0 comments on commit d362a3d

Please sign in to comment.