fix: login issues

This commit is contained in:
trafficlunar 2026-04-17 17:20:51 +01:00
parent 46202b22b0
commit 11df9261da
9 changed files with 47 additions and 172 deletions

View file

@ -43,7 +43,7 @@ export const { handlers, signIn, signOut, auth } = NextAuth({
},
async redirect({ url, baseUrl }) {
return process.env.FRONTEND_URL ?? "http://localhost:4321";
return process.env.NEXT_PUBLIC_FRONTEND_URL ?? "http://localhost:4321";
},
},
});