change routing for auth and auth/callback (#2493)

This commit is contained in:
Tessa Thornton authored and Kim Gardner committed 2019-08-23 15:00:36 -04:00
1 parent 07df7ac182
commit ffecd5e981
2 files changed
+9 -9

No files matched your search

+8 -8
View File
@@ -121,14 +121,6 @@ export function mountClientRoutes(
entrypoint: entrypoints.get("stream"),
})
);
router.use(
"/embed/auth",
createClientTargetRouter({
staticURI,
cacheDuration: false,
entrypoint: entrypoints.get("auth"),
})
);
router.use(
"/embed/auth/callback",
createClientTargetRouter({
@@ -137,6 +129,14 @@ export function mountClientRoutes(
entrypoint: entrypoints.get("authCallback"),
})
);
router.use(
"/embed/auth",
createClientTargetRouter({
staticURI,
cacheDuration: false,
entrypoint: entrypoints.get("auth"),
})
);
// Add the standalone targets.
router.use(