We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b9430 commit 6da5e73Copy full SHA for 6da5e73
deploy.sh
@@ -16,7 +16,7 @@ cp -r dist /tmp/
16
cd /tmp/dist
17
18
# 404 跳转
19
-echo "<script>fetch('index.html').then(d=>document.write(d.text()))</script>" > 404.html
+echo "<script>fetch('index.html').then(r=>r.text()).then(d=>document.write(d))</script>" > 404.html
20
21
# 部署到自定义域域名
22
# echo 'www.example.com' > CNAME
0 commit comments