Move api to v1 folder

This commit is contained in:
2022-06-27 09:08:26 -05:00
parent 6fe79a1892
commit 2fa58305cb
15 changed files with 43 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ export async function getServerSideProps({ req, res }) {
if (!session || !session.user) {
res.writeHead(302, {
Location: "/api/login",
Location: "/api/v1/login",
});
res.end();
return;