diff --git a/typescript-admin-portal-example/routes/index.ts b/typescript-admin-portal-example/routes/index.ts index c0a522d..01c28b7 100644 --- a/typescript-admin-portal-example/routes/index.ts +++ b/typescript-admin-portal-example/routes/index.ts @@ -61,4 +61,4 @@ router.get('/launch_admin_portal', async (req, res) => { res.redirect(link) }) -export default router +export const index = router; diff --git a/typescript-audit-logs-example/routes/index.ts b/typescript-audit-logs-example/routes/index.ts index 223ade7..761cc25 100644 --- a/typescript-audit-logs-example/routes/index.ts +++ b/typescript-audit-logs-example/routes/index.ts @@ -157,6 +157,6 @@ router.get('/logout', (req, res) => { res.redirect('/') }) -export default router +export const index = router; diff --git a/typescript-magic-link-example/routes/index.ts b/typescript-magic-link-example/routes/index.ts index c34c10c..5f88815 100644 --- a/typescript-magic-link-example/routes/index.ts +++ b/typescript-magic-link-example/routes/index.ts @@ -43,4 +43,4 @@ router.get('/callback', async (req: Request, res: Response) => { }) }) -export default router +export const index = router; diff --git a/typescript-mfa-example/routes/index.ts b/typescript-mfa-example/routes/index.ts index bc3c100..b5f6371 100644 --- a/typescript-mfa-example/routes/index.ts +++ b/typescript-mfa-example/routes/index.ts @@ -112,4 +112,4 @@ router.get('/clear_session', (req, res) => { res.redirect('/') }) -export default router +export const index = router; diff --git a/typescript-sso-example/routes/index.ts b/typescript-sso-example/routes/index.ts index 84a7cd2..3daad25 100644 --- a/typescript-sso-example/routes/index.ts +++ b/typescript-sso-example/routes/index.ts @@ -99,4 +99,4 @@ router.get('/logout', async (req: Request, res: Response) => { } }) -export default router \ No newline at end of file +export const index = router; \ No newline at end of file