diff --git a/backend/src/routes/auth.ts b/backend/src/routes/auth.ts index 58ce387..60aadfd 100644 --- a/backend/src/routes/auth.ts +++ b/backend/src/routes/auth.ts @@ -79,7 +79,7 @@ export const authRouter: FastifyPluginAsync = async (fastify) => { } req.session.user = user; - const base = process.env.FRONTEND_URL ?? "http://localhost:5173"; + const base = process.env.FRONTEND_APP_URL ?? "http://localhost:5173"; reply.redirect(`${base}?login=1`); }, );