We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f1bc4 commit a77e029Copy full SHA for a77e029
index.js
@@ -198,7 +198,7 @@ class API {
198
199
// Allow before hooks to get setup
200
if (_.isFunction(this.config.hookBeforeRoutes))
201
- this.config.hookBeforeRoutes(app);
+ this.config.hookBeforeRoutes(app, this.config);
202
203
// Mount the app's defined and nested routes
204
if (this.config.routes) {
0 commit comments