Skip to content

Commit

Permalink
CSP seems to restrictive.
Browse files Browse the repository at this point in the history
Created #121 to deal with the issues
Just disabled for now
  • Loading branch information
fras2560 committed Apr 24, 2021
1 parent bc23f98 commit a5d605b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
POSTS = join(getcwd(), "api", "templates", "website", "posts")
app.config['UPLOAD_FOLDER'] = "./static"
if app.config["ENV"] != "development":
Talisman(app)
Talisman(app, content_security_policy=None)

# these imports cannot be at the top right now

Expand Down

0 comments on commit a5d605b

Please sign in to comment.