Unverified Commit 0f3e3594 authored by ouuan's avatar ouuan Committed by GitHub
Browse files

🔀 Merge pull request #1708 from OI-wiki/Ir1d/netlify

disable regex for cdn
parents e982a2e9 8c42e0e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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