小调整

pull/311/head
王良 2024-04-23 21:50:08 +08:00
parent f75d499f23
commit 2fde1a5810
1 changed files with 4 additions and 4 deletions

View File

@ -52,6 +52,10 @@ const serverApi = {
})
}
if (allConfig.app) {
serverConfig.app = allConfig.app
}
if (serverConfig.intercept.enabled === false) {
// 如果设置为关闭拦截
serverConfig.intercepts = {}
@ -69,10 +73,6 @@ const serverApi = {
serverConfig.proxy = allConfig.proxy
}
if (allConfig.app) {
serverConfig.app = allConfig.app
}
// fireStatus('ing') // 启动中
const basePath = serverConfig.setting.userBasePath
const runningConfigPath = path.join(basePath, '/running.json')