1
0
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:
Fredrik Oseberg 2021-04-30 14:08:34 +02:00
parent 83f20d9bac
commit 95ec001d4a

View File

@ -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