Skip to content
Discussion options

You must be logged in to vote

You don't need to import flask_talisman in your superset_config.py — Superset handles that internally in its own extensions module [1]. You just set plain Python variables in your config file.

Here's what your superset_config.py should look like (no imports needed):

TALISMAN_ENABLED = True

TALISMAN_CONFIG = {
    "content_security_policy": {
        "base-uri": ["'self'"],
        "default-src": ["'self'"],
        "img-src": [
            "'self'",
            "blob:",
            "data:",
            "https://apachesuperset.gateway.scarf.sh",
            "https://static.scarf.sh/",
            "https://cdn.document360.io",
            "ows.terrestris.de",
            "https://i.ibb.co",…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@luan-beserra
Comment options

@dosubot
Comment options

Answer selected by luan-beserra
@luan-beserra
Comment options

@dosubot
Comment options

@PARKER-X
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants