waibu-rest-api 2.7.1 → 2.7.2

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.
@@ -79,8 +79,8 @@ const boot = {
79
79
  mod.config.pathReroutedTo = rpath
80
80
  this.log.warn('rerouted%s%s', `${prefix}${fullPath}`, `${prefix}${rpath}`)
81
81
  mod.url = me.config.format.asExt ? formatExt(rpath) : rpath
82
- await me.webAppCtx.route(mod)
83
- } else await appCtx.route(mod)
82
+ me.webAppCtx.route(mod)
83
+ } else appCtx.route(mod)
84
84
  }
85
85
  }
86
86
  }, { prefix: appPrefix })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-rest-api",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "REST API for Waibu",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## 2026-03-22
4
4
 
5
5
  - [2.7.1] bug fix in reference records
6
+ - [2.7.2] Bug fix in applying routes to ```webCtx```
6
7
 
7
8
  ## 2026-03-14
8
9