@nocobase/plugin-client 0.7.0-alpha.57 → 0.7.0-alpha.58
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/plugin.js +4 -0
- package/package.json +4 -4
package/lib/plugin.js
CHANGED
|
@@ -176,6 +176,10 @@ class ClientPlugin extends _server().Plugin {
|
|
|
176
176
|
return next();
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
+
if (ctx.path.startsWith(_this2.app.resourcer.options.prefix)) {
|
|
180
|
+
return next();
|
|
181
|
+
}
|
|
182
|
+
|
|
179
183
|
yield (0, _koaStatic().default)(root)(ctx, next); // console.log('koa-send', root, ctx.status);
|
|
180
184
|
|
|
181
185
|
if (ctx.status == 404) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-client",
|
|
3
|
-
"version": "0.7.0-alpha.
|
|
3
|
+
"version": "0.7.0-alpha.58",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"licenses": [
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@nocobase/server": "0.7.0-alpha.
|
|
13
|
+
"@nocobase/server": "0.7.0-alpha.58"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@nocobase/test": "0.7.0-alpha.
|
|
16
|
+
"@nocobase/test": "0.7.0-alpha.58"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "19ee42257edf17804d548ffd5ba9ddff6dc775d1"
|
|
19
19
|
}
|