diff options
author | Christoph (Sheogorath) Kern | 2018-03-26 14:51:09 +0200 |
---|---|---|
committer | GitHub | 2018-03-26 14:51:09 +0200 |
commit | 5d57a4bb6f126e327d576d34e489d479326fb4e2 (patch) | |
tree | 0d7a9246b238134cf883167e33a653c1f3886e8e | |
parent | 6a4350af2bc185374671f36970e1aef8b7d9ac93 (diff) | |
parent | 450262c4ab6519fec3943e1d19bd48f78f8a8713 (diff) |
Merge pull request #779 from SISheogorath/fix/cspForVideo
Allow embedding of video and audio tags
-rw-r--r-- | lib/csp.js | 1 |
1 files changed, 1 insertions, 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: ['*'] } |