waibu-mpa 2.10.0 → 2.10.1

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.
@@ -72,8 +72,8 @@ async function addRoutes ({ appPrefix, prefix, mods, appCtx, cfg }) {
72
72
  this.log.warn('rerouted%s%s', `${prefix}${fullPath}`, `${prefix}${rpath}`)
73
73
  mod.url = rpath
74
74
  mod.pathReroutedTo = rpath
75
- await this.webAppCtx.route(mod)
76
- } else await appCtx.route(mod)
75
+ this.webAppCtx.route(mod)
76
+ } else appCtx.route(mod)
77
77
  }
78
78
  }
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-mpa",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "MPA support for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-03-22
4
+
5
+ - [2.10.1] Bug fix in applying routes to ```webCtx```
6
+
3
7
  ## 2026-03-19
4
8
 
5
9
  - [2.10.0] Add ```options-separator``` to use different separator than the default one (```;```)