@nocobase/server 0.13.0-alpha.2 → 0.13.0-alpha.3
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 +12 -12
package/lib/gateway/index.js
CHANGED
|
@@ -67,6 +67,13 @@ function _url() {
|
|
|
67
67
|
};
|
|
68
68
|
return data;
|
|
69
69
|
}
|
|
70
|
+
function _xpipe() {
|
|
71
|
+
const data = _interopRequireDefault(require("xpipe"));
|
|
72
|
+
_xpipe = function _xpipe() {
|
|
73
|
+
return data;
|
|
74
|
+
};
|
|
75
|
+
return data;
|
|
76
|
+
}
|
|
70
77
|
var _appSupervisor = require("../app-supervisor");
|
|
71
78
|
var _errors = require("./errors");
|
|
72
79
|
var _ipcSocketClient = require("./ipc-socket-client");
|
|
@@ -88,7 +95,7 @@ class Gateway extends _events().EventEmitter {
|
|
|
88
95
|
this.port = process.env.APP_PORT ? parseInt(process.env.APP_PORT) : null;
|
|
89
96
|
this.host = '0.0.0.0';
|
|
90
97
|
this.wsServer = void 0;
|
|
91
|
-
this.socketPath = (0, _path().resolve)(process.cwd(), 'storage', 'gateway.sock');
|
|
98
|
+
this.socketPath = _xpipe().default.eq((0, _path().resolve)(process.cwd(), 'storage', 'gateway.sock'));
|
|
92
99
|
this.reset();
|
|
93
100
|
}
|
|
94
101
|
static getInstance(options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "0.13.0-alpha.
|
|
3
|
+
"version": "0.13.0-alpha.3",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"@koa/cors": "^3.1.0",
|
|
11
11
|
"@koa/multer": "^3.0.2",
|
|
12
12
|
"@koa/router": "^9.4.0",
|
|
13
|
-
"@nocobase/acl": "0.13.0-alpha.
|
|
14
|
-
"@nocobase/actions": "0.13.0-alpha.
|
|
15
|
-
"@nocobase/auth": "0.13.0-alpha.
|
|
16
|
-
"@nocobase/cache": "0.13.0-alpha.
|
|
17
|
-
"@nocobase/database": "0.13.0-alpha.
|
|
18
|
-
"@nocobase/evaluators": "0.13.0-alpha.
|
|
19
|
-
"@nocobase/logger": "0.13.0-alpha.
|
|
20
|
-
"@nocobase/resourcer": "0.13.0-alpha.
|
|
21
|
-
"@nocobase/sdk": "0.13.0-alpha.
|
|
22
|
-
"@nocobase/utils": "0.13.0-alpha.
|
|
13
|
+
"@nocobase/acl": "0.13.0-alpha.3",
|
|
14
|
+
"@nocobase/actions": "0.13.0-alpha.3",
|
|
15
|
+
"@nocobase/auth": "0.13.0-alpha.3",
|
|
16
|
+
"@nocobase/cache": "0.13.0-alpha.3",
|
|
17
|
+
"@nocobase/database": "0.13.0-alpha.3",
|
|
18
|
+
"@nocobase/evaluators": "0.13.0-alpha.3",
|
|
19
|
+
"@nocobase/logger": "0.13.0-alpha.3",
|
|
20
|
+
"@nocobase/resourcer": "0.13.0-alpha.3",
|
|
21
|
+
"@nocobase/sdk": "0.13.0-alpha.3",
|
|
22
|
+
"@nocobase/utils": "0.13.0-alpha.3",
|
|
23
23
|
"@types/koa-send": "^4.1.3",
|
|
24
24
|
"@types/multer": "^1.4.5",
|
|
25
25
|
"axios": "^0.26.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/serve-handler": "^6.1.1",
|
|
47
47
|
"@types/ws": "^8.5.5"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "4a9e3b3d49222c58a40025dab4a1522a035ec664"
|
|
50
50
|
}
|