@nocobase/server 1.5.0-beta.20 → 1.5.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gateway/index.js +8 -1
- package/package.json +15 -15
package/lib/gateway/index.js
CHANGED
|
@@ -205,7 +205,14 @@ const _Gateway = class _Gateway extends import_events.EventEmitter {
|
|
|
205
205
|
rewrites: [{ source: "/**", destination: "/index.html" }]
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
let handleApp = "main";
|
|
209
|
+
try {
|
|
210
|
+
handleApp = await this.getRequestHandleAppName(req);
|
|
211
|
+
} catch (error) {
|
|
212
|
+
console.log(error);
|
|
213
|
+
this.responseErrorWithCode("APP_INITIALIZING", res, { appName: handleApp });
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
209
216
|
const hasApp = import_app_supervisor.AppSupervisor.getInstance().hasApp(handleApp);
|
|
210
217
|
if (!hasApp) {
|
|
211
218
|
void import_app_supervisor.AppSupervisor.getInstance().bootStrapApp(handleApp);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.21",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"@koa/cors": "^3.1.0",
|
|
11
11
|
"@koa/multer": "^3.0.2",
|
|
12
12
|
"@koa/router": "^9.4.0",
|
|
13
|
-
"@nocobase/acl": "1.5.0-beta.
|
|
14
|
-
"@nocobase/actions": "1.5.0-beta.
|
|
15
|
-
"@nocobase/auth": "1.5.0-beta.
|
|
16
|
-
"@nocobase/cache": "1.5.0-beta.
|
|
17
|
-
"@nocobase/data-source-manager": "1.5.0-beta.
|
|
18
|
-
"@nocobase/database": "1.5.0-beta.
|
|
19
|
-
"@nocobase/evaluators": "1.5.0-beta.
|
|
20
|
-
"@nocobase/lock-manager": "1.5.0-beta.
|
|
21
|
-
"@nocobase/logger": "1.5.0-beta.
|
|
22
|
-
"@nocobase/resourcer": "1.5.0-beta.
|
|
23
|
-
"@nocobase/sdk": "1.5.0-beta.
|
|
24
|
-
"@nocobase/telemetry": "1.5.0-beta.
|
|
25
|
-
"@nocobase/utils": "1.5.0-beta.
|
|
13
|
+
"@nocobase/acl": "1.5.0-beta.21",
|
|
14
|
+
"@nocobase/actions": "1.5.0-beta.21",
|
|
15
|
+
"@nocobase/auth": "1.5.0-beta.21",
|
|
16
|
+
"@nocobase/cache": "1.5.0-beta.21",
|
|
17
|
+
"@nocobase/data-source-manager": "1.5.0-beta.21",
|
|
18
|
+
"@nocobase/database": "1.5.0-beta.21",
|
|
19
|
+
"@nocobase/evaluators": "1.5.0-beta.21",
|
|
20
|
+
"@nocobase/lock-manager": "1.5.0-beta.21",
|
|
21
|
+
"@nocobase/logger": "1.5.0-beta.21",
|
|
22
|
+
"@nocobase/resourcer": "1.5.0-beta.21",
|
|
23
|
+
"@nocobase/sdk": "1.5.0-beta.21",
|
|
24
|
+
"@nocobase/telemetry": "1.5.0-beta.21",
|
|
25
|
+
"@nocobase/utils": "1.5.0-beta.21",
|
|
26
26
|
"@types/decompress": "4.2.7",
|
|
27
27
|
"@types/ini": "^1.3.31",
|
|
28
28
|
"@types/koa-send": "^4.1.3",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"@types/serve-handler": "^6.1.1",
|
|
57
57
|
"@types/ws": "^8.5.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "6a2c545d9e5e4f073592c810e704e6b0fe9aa096"
|
|
60
60
|
}
|