redirect activate page

This commit is contained in:
zeppi 2021-08-31 15:45:08 -04:00 committed by jessopb
parent 5c5d82ee83
commit 3b94ecaf80

View file

@ -61,6 +61,10 @@ router.get(`/$/stream/:claimName/:claimId`, async (ctx) => {
ctx.redirect(streamUrl); ctx.redirect(streamUrl);
}); });
router.get(`/$/activate`, async (ctx) => {
ctx.redirect(`https://sso.odysee.com/auth/realms/Users/device`);
});
router.get(`/$/rss/:claimName/:claimId`, rssMiddleware); router.get(`/$/rss/:claimName/:claimId`, rssMiddleware);
router.get(`/$/rss/:claimName::claimId`, rssMiddleware); router.get(`/$/rss/:claimName::claimId`, rssMiddleware);