mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
CSP: Allow self as frame-src
The reveal.js speaker view uses frames to display the slides Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1642242078
commit
46cd60c510
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const defaultDirectives = {
|
|||
baseUri: ['\'self\''],
|
||||
connectSrc: ['\'self\''],
|
||||
fontSrc: ['\'self\''],
|
||||
frameSrc: ['https://player.vimeo.com', 'https://www.slideshare.net/slideshow/embed_code/key/', 'https://www.youtube.com'],
|
||||
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: [
|
||||
config.serverURL + '/build/',
|
||||
|
|
Loading…
Reference in a new issue