CSP: Allow styles from /css/
Reveal.js styles are hosted there Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1c0af5f75d
commit
1642242078
@ -19,7 +19,7 @@ const defaultDirectives = {
|
||||
'https://www.slideshare.net/api/oembed/2',
|
||||
'\'unsafe-inline\'' // this is ignored by browsers supporting nonces/hashes
|
||||
],
|
||||
styleSrc: [config.serverURL + '/build/', '\'unsafe-inline\'', 'https://github.githubassets.com'], // unsafe-inline is required for some libs, plus used in views
|
||||
styleSrc: [config.serverURL + '/build/', config.serverURL + '/css/', '\'unsafe-inline\'', 'https://github.githubassets.com'], // unsafe-inline is required for some libs, plus used in views
|
||||
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
|
||||
formAction: ['\'self\'']
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user