Skip to content

Commit 2fde1a5

Browse files
小调整
1 parent f75d499 commit 2fde1a5

File tree

1 file changed

+4
-4
lines changed
  • packages/core/src/modules/server

1 file changed

+4
-4
lines changed

packages/core/src/modules/server/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ const serverApi = {
5252
})
5353
}
5454

55+
if (allConfig.app) {
56+
serverConfig.app = allConfig.app
57+
}
58+
5559
if (serverConfig.intercept.enabled === false) {
5660
// 如果设置为关闭拦截
5761
serverConfig.intercepts = {}
@@ -69,10 +73,6 @@ const serverApi = {
6973
serverConfig.proxy = allConfig.proxy
7074
}
7175

72-
if (allConfig.app) {
73-
serverConfig.app = allConfig.app
74-
}
75-
7676
// fireStatus('ing') // 启动中
7777
const basePath = serverConfig.setting.userBasePath
7878
const runningConfigPath = path.join(basePath, '/running.json')

0 commit comments

Comments
 (0)