Skip to content

Commit

Permalink
Change: Adjust content security policy to allow inline javascript
Browse files Browse the repository at this point in the history
Inline javascript is used by the build tool to detect older versions of
browsers. Without adjusting the content security policy we aren't able
to support older browsers.
  • Loading branch information
bjoernricks committed Apr 25, 2024
1 parent f88fe83 commit 3df34c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsad.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
"base-uri 'none'; " \
"connect-src 'self'; " \
"script-src 'self'; " \
"script-src-elem 'self' 'unsafe-inline';" \
"frame-ancestors 'none'; " \
"form-action 'self'; " \
"style-src-elem 'self' 'unsafe-inline'; " \
Expand Down

0 comments on commit 3df34c8

Please sign in to comment.