Skip to content

Commit

Permalink
fix: update csp to resolve cors errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sennierer authored Dec 4, 2024
1 parent 4e82179 commit 0828680
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apis/settings/biographien.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
)

CSP_SCRIPT_SRC = CSP_DEFAULT_SRC + (
"unpkg.com",
"'self'",
"https://unpkg.com",
"'unsafe-inline'",
"'unsafe-eval'",
)


Expand Down

0 comments on commit 0828680

Please sign in to comment.