From ce83d6eb40e27179d8e53c9e0e3c4d1493bb52ba Mon Sep 17 00:00:00 2001 From: Xhofe Date: Fri, 4 Mar 2022 09:50:47 +0800 Subject: [PATCH] build: fix dev build --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 86b95781..40746277 100644 --- a/build.sh +++ b/build.sh @@ -6,6 +6,9 @@ BUILD_WEB() { cd alist-web yarn yarn build + sed -i -e "s/\/CDN_URL\//\//g" dist/index.html + sed -i -e "s/assets/\/assets/g" dist/index.html + rm -f dist/index.html-e mv dist .. cd .. || exit rm -rf alist-web