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
@ -8,7 +8,7 @@ const defaultDirectives = {
|
|||||||
baseUri: ['\'self\''],
|
baseUri: ['\'self\''],
|
||||||
connectSrc: ['\'self\''],
|
connectSrc: ['\'self\''],
|
||||||
fontSrc: ['\'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
|
imgSrc: ['*'], // we allow using arbitrary images
|
||||||
scriptSrc: [
|
scriptSrc: [
|
||||||
config.serverURL + '/build/',
|
config.serverURL + '/build/',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user