Skip to content

Commit

Permalink
csp
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Nov 10, 2023
1 parent 881a778 commit 9bfb350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aurora/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ def show_ddt(request): # pragma: no-cover
"csp.middleware.CSPMiddleware",
]
CSP_DEFAULT_SRC = SOURCES
CSP_FRAME_SRC = []
CSP_DEFAULT_SRC = ("'self'",)
CSP_FRAME_ANCESTORS = ("'none'",)
# CSP_SCRIPT_SRC = SOURCES
# CSP_STYLE_SRC = (
# "'self'",
Expand Down

0 comments on commit 9bfb350

Please sign in to comment.