Skip to content

Commit

Permalink
adjust dependabot, remove allowEvalScript()
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
  • Loading branch information
Grotax committed Oct 24, 2023
1 parent f53159b commit 1632f5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
updates:
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/js"
directory: "/"
schedule:
interval: "daily"
labels:
Expand Down
1 change: 0 additions & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public function index(): TemplateResponse
$csp->addAllowedImageDomain('*')
->addAllowedMediaDomain('*')
->addAllowedConnectDomain('*')// chrome breaks on audio elements
->allowEvalScript(true)
->addAllowedFrameDomain('https://youtube.com')
->addAllowedFrameDomain('https://www.youtube.com')
->addAllowedFrameDomain('https://player.vimeo.com')
Expand Down

0 comments on commit 1632f5b

Please sign in to comment.