diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 3ece1e1..05b8a39 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -105,3 +105,4 @@ - [Michael Weiss](https://mweiss.ch) - [Simon Pai](https://github.com/simonpai) - [Brenton Mallen](https://github.com/brentonmallen1) +- [Xiaoyang Luo](https://github.com/ccviolett/) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0bdec2f..2039858 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -82,7 +82,12 @@ stylesrc = [ "https://fonts.googleapis.com/", "https://cdn.jsdelivr.net/" ] -scriptsrc = ["'self'", "'unsafe-inline'", "https://www.google-analytics.com"] +scriptsrc = [ + "'self'", + "'unsafe-inline'", + "https://www.google-analytics.com", + "https://cdn.jsdelivr.net/" +] prefetchsrc = ["'self'"] # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource connectsrc = ["'self'", "https://www.google-analytics.com"]