HackMD/lib/config
Sheogorath d939de17df
Fix CSP for disqus and Google Analytics
This commit should fix existing problems with Disqus and Google
Analytics enabled in the meta-yaml section of a note.

Before this commit they were blocked by the strict CSP. It's still
possible to disable the added directives using `addDisqus` and
`addGoogleAnalytics` in the `csp` config section.

They are enabled by default to prevent breaking changes.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-30 16:33:52 +02:00
..
default.js Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
defaultSSL.js Rename forgotten values 2018-03-26 20:15:45 +02:00
dockerSecret.js Fix not passing app key correctly in dropbox config 2018-01-19 00:25:08 +08:00
enum.js refactor(config.js): Extract config file 2017-05-08 19:29:07 +08:00
environment.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
index.js Merge pull request #780 from SISheogorath/fix/sessionSecret 2018-03-28 12:25:01 +02:00
oldDefault.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
oldEnvironment.js fix(config): ssl environment configs not parse properly 2017-05-08 20:41:38 +08:00
utils.js Add helper function to fix number problems 2018-03-16 20:37:59 +01:00