diff options
author | Christoph (Sheogorath) Kern | 2018-06-26 21:38:02 +0200 |
---|---|---|
committer | GitHub | 2018-06-26 21:38:02 +0200 |
commit | 6634fac84964d4f292599a9f368c182e6f10045c (patch) | |
tree | d93e6a6574ad972a27b372fc12e0539b57ca8868 /lib/csp.js | |
parent | d87505d5836ea1bad60c0e2c2a8aa25b9b4e1590 (diff) | |
parent | 2184491f4ac4b224e26fcc4b54d792dd4e82178f (diff) |
Merge pull request #850 from SISheogorath/rebrand/CodiMD
Rebrand HackMD CE to CodiMD
Diffstat (limited to 'lib/csp.js')
-rw-r--r-- | lib/csp.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ var CspStrategy = {} var defaultDirectives = { defaultSrc: ['\'self\''], scriptSrc: ['\'self\'', 'vimeo.com', 'https://gist.github.com', 'www.slideshare.net', 'https://query.yahooapis.com', '\'unsafe-eval\''], - // ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/hackmd/issues/594 + // ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/codimd/issues/594 imgSrc: ['*'], 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'], |