OSDN Git Service

disable regex for cdn
authorIr1dXD <sirius.caffrey@gmail.com>
Sat, 14 Sep 2019 13:10:50 +0000 (21:10 +0800)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 13:10:50 +0000 (21:10 +0800)
scripts/netlify_build.sh

index 80196ab..5189b8b 100755 (executable)
@@ -22,7 +22,7 @@ mkdocs build -v
 
 # find ./site -type f -name '*.html' -exec node --max_old_space_size=512 ./scripts/render_math.js {} \;
 
-find ./site -type f -name "*.html" -exec sed -i -E 's/([^"]*)(assets[^"]*)/https:\/\/cdn-for-oi-wiki.billchn.com\/\2/g' {} +
+find ./site -type f -name "*.html" -exec sed -i -E 's/([^"]*)(assets[^"]*)/https:\/\/cdn-for-oi-wiki.billchn.com\/\2/g' {} +
 
 # npx gulp minify
 # try to avoid netlify timeout