You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ericssontadashi (via GitHub)" <gi...@apache.org> on 2025/05/22 12:09:58 UTC

Re: [I] picture won't load [superset]

ericssontadashi commented on issue #33207:
URL: https://github.com/apache/superset/issues/33207#issuecomment-2900999040

   I was looking for this solution for quite some days now, yesterday it worked for me.
   I`m using helm charts and this is how I`ve configured:
   
   ```
   configOverrides:
     vs_override: |
       FEATURE_FLAGS = {
         "EMBEDDED_SUPERSET": True
       }
       LANGUAGES = { 
         "en": {"flag": "us", "name": "English"},
         "pt": {"flag": "br", "name": "Português"},
         "es": {"flag": "es", "name": "Español"},
       }
       BABEL_DEFAULT_LOCALE = "pt"
       TALISMAN_CONFIG = {
         "content_security_policy": {
           "default-src": ["'self'"],
           "img-src": ["'self'", "data:", "blob:", "*",],
           "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'", "'strict-dynamic'"],
         },
         "content_security_policy_nonce_in": ["script-src"],
         "force_https": False,
       }
   ```
   
   Added a * on img-src, so it can work for all domains, but you can specify specific domains as well.
   Hope it works for you.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org