jeverling commented on issue #24947:
URL: https://github.com/apache/superset/issues/24947#issuecomment-1987371015

   > Is there any solution for it> I am using 3.1.1?
   
   Hi, the following config works around this issue for me:
   
   ```python
   TALISMAN_CONFIG = {
       "content_security_policy": {
           "default-src": ["'self'"],
           "img-src": ["'self'", "blob:", "data:"],
           "worker-src": ["'self'", "blob:"],
           "connect-src": [
               "'self'",
               "https://api.mapbox.com";,
               "https://events.mapbox.com";,
           ],
           "object-src": "'none'",
           "style-src": [
               "'self'",
               "'unsafe-inline'",
           ],
           "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
       },
       "content_security_policy_nonce_in": ["script-src"],
       "force_https": False,
   }
   ```
   
   This is based on upstream config for 3.0.2, so you might want to check this 
config value for the version you're using, and adjust accordingly. The default 
is set in this file:
   
   https://github.com/apache/superset/blob/master/superset/config.py#L1402


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to