Add jsdelivr to scriptsrc for Katex (#636)

This commit is contained in:
Carmine Carlo
2022-01-17 15:08:53 +00:00
committed by GitHub
parent 963a78323b
commit 750ff9a602
2 changed files with 7 additions and 1 deletions

View File

@@ -105,3 +105,4 @@
- [Michael Weiss](https://mweiss.ch) - [Michael Weiss](https://mweiss.ch)
- [Simon Pai](https://github.com/simonpai) - [Simon Pai](https://github.com/simonpai)
- [Brenton Mallen](https://github.com/brentonmallen1) - [Brenton Mallen](https://github.com/brentonmallen1)
- [Xiaoyang Luo](https://github.com/ccviolett/)

View File

@@ -82,7 +82,12 @@ stylesrc = [
"https://fonts.googleapis.com/", "https://fonts.googleapis.com/",
"https://cdn.jsdelivr.net/" "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'"] prefetchsrc = ["'self'"]
# connect-src directive defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource # connect-src directive defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
connectsrc = ["'self'", "https://www.google-analytics.com"] connectsrc = ["'self'", "https://www.google-analytics.com"]