You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/22 18:27:06 UTC

[GitHub] [superset] progettoautomazione commented on issue #21146: Embedded Dashboard 500 Error {{superser_domain}}/embedded/{{dashboard_id}}?uiConfig=1

progettoautomazione commented on issue #21146:
URL: https://github.com/apache/superset/issues/21146#issuecomment-1222756631

   My superset_config.py:
   
   ```
   WEBDRIVER_BASEURL = "https://bi.progestnow.com/"
   
   SUPERSET_FEATURE_EMBEDDED_SUPERSET = True
   
   FEATURE_FLAGS = {
       "ENABLE_TEMPLATE_PROCESSING": True,
       "EMBEDDED_SUPERSET": True,
       "EMBEDDABLE_CHARTS": True,
   }
   DATA_CACHE_CONFIG = {
       "CACHE_TYPE": "SupersetMetastoreCache",
       "CACHE_KEY_PREFIX": "superset_results",  # make sure this string is unique to avoid collisions
       "CACHE_DEFAULT_TIMEOUT": 86400,  # 60 seconds * 60 minutes * 24 hours
   }
   
   HTTP_HEADERS = {'X-Frame-Options': 'ALLOWALL'}
   
   SESSION_COOKIE_SAMESITE = None
   ENABLE_PROXY_FIX = True
   PUBLIC_ROLE_LIKE_GAMMA = True
   
   ENABLE_CORS = True
   CORS_OPTIONS = {
     'supports_credentials': True,
     'allow_headers': ['*'],
     'resources':['*'],
     'origins': ['*']
   }
   
   ENABLE_TIME_ROTATE = True
   ```


-- 
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