Skip to content

Commit

Permalink
fix: add WebSocket URL to CSP configuration in superset config
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyan540 committed Dec 25, 2024
1 parent 0e03b07 commit 727dda0
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 @@ -1602,6 +1602,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"'self'",
"https://api.mapbox.com",
"https://events.mapbox.com",
"ws://localhost:8765/",
],
"object-src": "'none'",
"style-src": [
Expand Down Expand Up @@ -1632,6 +1633,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument
"'self'",
"https://api.mapbox.com",
"https://events.mapbox.com",
"ws://localhost:8765/",
],
"object-src": "'none'",
"style-src": [
Expand Down

0 comments on commit 727dda0

Please sign in to comment.