mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
CSP: Allow self as manifest-src
Chrome complains otherwise, as it can't download the Web Manifest. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
46cd60c510
commit
c002c7b681
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ const defaultDirectives = {
|
|||
baseUri: ['\'self\''],
|
||||
connectSrc: ['\'self\''],
|
||||
fontSrc: ['\'self\''],
|
||||
manifestSrc: ['\'self\''],
|
||||
frameSrc: ['\'self\'', 'https://player.vimeo.com', 'https://www.slideshare.net/slideshow/embed_code/key/', 'https://www.youtube.com'],
|
||||
imgSrc: ['*'], // we allow using arbitrary images
|
||||
scriptSrc: [
|
||||
|
|
Loading…
Reference in a new issue