Closed icebob closed 2 years ago
Add alias to the following hooks as last parameter:
alias
onBeforeCall
authentication
authorization
You can access it in the hook handlers, e.g.:
{ path: "/", onBeforeCall(ctx, route, req, res, alias) { ctx.meta.aliasPath = alias.path; } }
Add
alias
to the following hooks as last parameter:onBeforeCall
authentication
authorization
You can access it in the hook handlers, e.g.: