build: fix dev build

pull/675/head
Xhofe 2022-03-04 09:50:47 +08:00
parent 2271cb6c7c
commit ce83d6eb40
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ BUILD_WEB() {
cd alist-web cd alist-web
yarn yarn
yarn build 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 .. mv dist ..
cd .. || exit cd .. || exit
rm -rf alist-web rm -rf alist-web