Fix redirect destination in getServerSideProps to remove query string
This commit is contained in:
parent
33dfe87040
commit
51a7cb9426
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export const getServerSideProps = (async (context) => {
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
redirect: {
|
redirect: {
|
||||||
destination: "/login?",
|
destination: "/login",
|
||||||
permanent: false,
|
permanent: false,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue