mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-28 17:12:12 +00:00
Merge pull request #779 from SISheogorath/fix/cspForVideo
Allow embedding of video and audio tags
This commit is contained in:
commit
5d57a4bb6f
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ var defaultDirectives = {
|
|||
styleSrc: ['\'self\'', '\'unsafe-inline\'', 'https://assets-cdn.github.com'], // unsafe-inline is required for some libs, plus used in views
|
||||
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],
|
||||
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
|
||||
mediaSrc: ['*'],
|
||||
childSrc: ['*'],
|
||||
connectSrc: ['*']
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue