waibu 2.16.0 → 2.16.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.
@@ -9,7 +9,7 @@ export function redirect (err = {}, req, reply) {
9
9
  async function handleRedirect (options) {
10
10
  const me = this
11
11
  this.instance.decorateReply('redirectTo', function (url, options = {}) {
12
- return redirect.call(me, { redirect: url, options }, null, this, url, options)
12
+ return redirect.call(me, { redirect: url, options }, null, this)
13
13
  })
14
14
  }
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Web Framework for Bajo",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-06-03
4
+
5
+ - [2.16.1] Bug fix in ```handle-redirect.js```
6
+
3
7
  ## 2026-05-30
4
8
 
5
9
  - [2.16.0] Change ```config.log.[noReq|noReply]``` to array ```config.log.disable``` with possible values: ```request``` and ```response```. Defaults to empty values