fix redirect from sign-in page
This commit is contained in:
parent
9d47017f5e
commit
da47aac48b
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
// Note: Make sure not to redirect to the same page
|
||||
// To avoid an infinite loop!
|
||||
if (session) {
|
||||
return { redirect: { destination: "/" } };
|
||||
return { redirect: { destination: "/videos" } };
|
||||
}
|
||||
|
||||
const providers = await getProviders();
|
||||
|
|
|
|||
Loading…
Reference in a new issue