waibu 1.1.18 → 1.1.19
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/package.json +1 -1
- package/plugin/factory.js +1 -0
package/package.json
CHANGED
package/plugin/factory.js
CHANGED
|
@@ -136,6 +136,7 @@ async function factory (pkgName) {
|
|
|
136
136
|
const { breakNsPath } = this.app.bajo
|
|
137
137
|
const { ns, subNs = '', path } = breakNsPath(route)
|
|
138
138
|
return find(this.routes, r => {
|
|
139
|
+
if (r.path.startsWith('*')) return false
|
|
139
140
|
r.config = r.config ?? {}
|
|
140
141
|
const match = outmatch(r.config.pathSrc ?? r.path, { separator: false })
|
|
141
142
|
if (!match(path)) return false
|