redirect to landing page
This commit is contained in:
@ -29,7 +29,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
|
||||
await session.$revoke();
|
||||
return {
|
||||
redirect: {
|
||||
destination: Routes.Home().pathname,
|
||||
destination: Routes.LandingPage().pathname,
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
|
@ -94,7 +94,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async ({ req, res }
|
||||
await session.$revoke();
|
||||
return {
|
||||
redirect: {
|
||||
destination: Routes.Home().pathname,
|
||||
destination: Routes.LandingPage().pathname,
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
|
@ -129,7 +129,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
|
||||
await session.$revoke();
|
||||
return {
|
||||
redirect: {
|
||||
destination: Routes.Home().pathname,
|
||||
destination: Routes.LandingPage().pathname,
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user