mirror of https://github.com/Xhofe/alist
build: fix dev build
parent
2271cb6c7c
commit
ce83d6eb40
3
build.sh
3
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue