Skip to content

Commit

Permalink
csp frame ancestor
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Nov 14, 2023
1 parent 351fb7d commit b7ae218
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/aurora/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,10 @@ def show_ddt(request): # pragma: no-cover
"csp.middleware.CSPMiddleware",
]
CSP_DEFAULT_SRC = SOURCES
CSP_FRAME_ANCESTORS = ("'none'",)
CSP_FRAME_ANCESTORS = (
"'none'",
"'self'",
)
# CSP_SCRIPT_SRC = SOURCES
# CSP_STYLE_SRC = (
# "'self'",
Expand Down

0 comments on commit b7ae218

Please sign in to comment.