mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add jsdelivr to scriptsrc for Katex (#636)
This commit is contained in:
@@ -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/)
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user