Skip to content

Commit

Permalink
fix: add self to img-src in csp (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-bywild authored Jan 5, 2023
1 parent acd0f00 commit 9bd1d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = {
'plausible.io',
'nonce-plausible-events'
],
'img-src': ['loremflickr.com', 'avatars.githubusercontent.com'],
'img-src': ['self', 'https', 'loremflickr.com', 'avatars.githubusercontent.com'],
'style-src': ['self', 'fonts.googleapis.com'],
'font-src': ['self', 'fonts.gstatic.com']
}
Expand Down

0 comments on commit 9bd1d5b

Please sign in to comment.