Skip to content

Commit

Permalink
Disabling flask-talisman by default (#7535)
Browse files Browse the repository at this point in the history
flask-talisman was enabled recently and while it may be virtuous in some
cases, it seems to break things out of the box.

Locally and in dev mode, upon my first redirect it sends to HTTPS and
things it crashes.

I think it should be opt-in, maybe we can recommend turning this on in
production in the docs?
  • Loading branch information
mistercrunch authored May 20, 2019
1 parent c79077d commit 1fdc96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ class CeleryConfig(object):
}

# Do you want Talisman enabled?
TALISMAN_ENABLED = True
TALISMAN_ENABLED = False
# If you want Talisman, how do you want it configured??
TALISMAN_CONFIG = {
'content_security_policy': None,
Expand Down

0 comments on commit 1fdc96a

Please sign in to comment.