We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e484584 + 0f9e367 commit f9cc2ffCopy full SHA for f9cc2ff
1 file changed
lib/csp.js
@@ -8,7 +8,7 @@ var defaultDirectives = {
8
scriptSrc: ['\'self\'', 'vimeo.com', 'https://gist.github.com', 'www.slideshare.net', 'https://query.yahooapis.com', '\'unsafe-eval\''],
9
// ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/codimd/issues/594
10
imgSrc: ['*'],
11
- styleSrc: ['\'self\'', '\'unsafe-inline\'', 'https://assets-cdn.github.com'], // unsafe-inline is required for some libs, plus used in views
+ styleSrc: ['\'self\'', '\'unsafe-inline\'', 'https://github.githubassets.com'], // unsafe-inline is required for some libs, plus used in views
12
fontSrc: ['\'self\'', 'data:', 'https://public.slidesharecdn.com'],
13
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
14
mediaSrc: ['*'],
0 commit comments