mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
feat: pass dependencies to pre router hook
This commit is contained in:
parent
83f20d9bac
commit
95ec001d4a
@ -112,7 +112,7 @@ export default function getApp(
|
||||
);
|
||||
|
||||
if (typeof config.preRouterHook === 'function') {
|
||||
config.preRouterHook(app);
|
||||
config.preRouterHook(app, config, services, stores);
|
||||
}
|
||||
|
||||
// Setup API routes
|
||||
|
Loading…
Reference in New Issue
Block a user