Skip to content

Commit

Permalink
Content Security and Permission Policies - django setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 21, 2023
1 parent 0c77af3 commit 9bcdd00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,11 @@
CSP_SCRIPT_SRC = (
"'self'",
"https://cdn.jsdelivr.net",
"https://tally.so",
)
CSP_SCRIPT_SRC_ELEM = CSP_SCRIPT_SRC
CSP_FRAME_SRC = ("'self'", "https://tally.so")
CSP_IMG_SRC = ("'self'", "data:")
CSP_IMG_SRC = ("'self'", "data:", "cellar-c2.services.clever-cloud.com")
CSP_INCLUDE_NONCE_IN = ["script-src", "script-src-elem"]

# HSTS
Expand Down

0 comments on commit 9bcdd00

Please sign in to comment.