1
0

fix: 升级时前端config.js覆盖问题

This commit is contained in:
TsMask
2025-04-30 19:08:04 +08:00
parent 1da05f7721
commit 8c94cf6bc0
5 changed files with 5 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ if [ ! -f $RootDir/omc.conf ]; then
cp $RootDir/default/omc.conf $RootDir/omc.conf
cp $RootDir/default/omc.yaml $RootDir/omc.yaml
cp $RootDir/default/sshsvc.yaml $RootDir/sshsvc.yaml
cp $RootDir/web/default/config.js $RootDir/web/config.js
# read environment parameter and to do
if [ -n "$M_PARAM" ] && [ -n "$C_PARAM" ]; then