Browse Source

"调整模块基础目录路径,将模块加载基准路径从'./admin-mobile-starter'改为当前目录'./',优化应用初始化配置"

D8D Developer 7 tháng trước cách đây
mục cha
commit
9326b52b55
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server/run_app.ts

+ 1 - 1
server/run_app.ts

@@ -65,7 +65,7 @@ const runTemplate = async () => {
       const appInstance = templateModule.default({
         apiClient: apiClient,
         app: moduleApp,
-        moduleDir: './admin-mobile-starter'
+        moduleDir: './'
       })
       
       // 启动服务器