Fix redirect destination in getServerSideProps to remove query string

This commit is contained in:
Marco Pedone 2025-08-20 17:22:37 +02:00
parent 33dfe87040
commit 51a7cb9426

View file

@ -76,7 +76,7 @@ export const getServerSideProps = (async (context) => {
}
return {
redirect: {
destination: "/login?",
destination: "/login",
permanent: false,
},
};