HackMD/public
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
..
css Update styles of details, summary and figure 2018-02-26 21:05:13 +08:00
docs Remove/update contact details 2018-01-20 17:40:00 +01:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
js Fix night mode button after restore 2018-03-25 20:12:02 +02:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor Reorganize usage of getAsFile() 2018-03-18 03:11:28 +01:00
views Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
apple-touch-icon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
default.md Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
favicon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
hackmd-icon-1024.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
screenshot.png Add screenshot on index page 2017-01-21 12:52:26 +08:00