Skip to content

Commit

Permalink
chore: [ZNO-2102] Extends content security policy to be able fetch im…
Browse files Browse the repository at this point in the history
…age sources for connect-src
  • Loading branch information
NikolayBorovenskiy committed Oct 27, 2023
1 parent a8bf7c9 commit a33f843
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"worker-src": ["'self'", "blob:"],
"connect-src": [
"'self'",
"https:",
"https://api.mapbox.com",
"https://events.mapbox.com",
],
Expand All @@ -1436,6 +1437,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"worker-src": ["'self'", "blob:"],
"connect-src": [
"'self'",
"https:",
"https://api.mapbox.com",
"https://events.mapbox.com",
],
Expand Down

0 comments on commit a33f843

Please sign in to comment.