Fix documentation CORS error (#1759)

* Fix CORS error

* Fix CORS error

* Add CORS attribute
This commit is contained in:
ylemkimon
2018-10-29 13:42:45 +09:00
committed by GitHub
parent a3215b284e
commit 354b4badda
3 changed files with 3 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ if [[ ! $PUBLISH ]]; then
# Edit docs to use CSS from CDN
grep -l '/static/' docs/*.md | xargs sed -i.bak \
's|/static/\([^"]\+\)|https://cdn.jsdelivr.net/npm/katex@./dist/\1" integrity="sha384-\1|'
's|/static/\([^"]\+\)|https://cdn.jsdelivr.net/npm/katex@./dist/\1" integrity="sha384-\1" crossorigin="anonymous|'
# Update the version number in CDN URLs included in the README and the documentation,
# and regenerate the Subresource Integrity hash for these files.