Skip to content

Commit

Permalink
fix: add missing kwarg content_security_policy in Talisman init_app
Browse files Browse the repository at this point in the history
  • Loading branch information
engineervix committed Sep 30, 2022
1 parent 18ef459 commit 432cbdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tenlists/webapp/ten_lists/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ def create_app():
"picture-in-picture": "()",
"usb": "()",
}
# strict_transport_security is already set by NGIИX
Talisman(
app,
os.getenv("CSP_DIRECTIVES", DEFAULT_CSP_POLICY),
# strict_transport_security is already set by NGIИX
strict_transport_security=False,
content_security_policy=os.getenv("CSP_DIRECTIVES", DEFAULT_CSP_POLICY),
permissions_policy=permissions_policy,
)

Expand Down

0 comments on commit 432cbdf

Please sign in to comment.