From 844e4a9ca7d3715504d4941be940a05e51245fb5 Mon Sep 17 00:00:00 2001 From: Face <69168154+face-hh@users.noreply.github.com> Date: Tue, 15 Jul 2025 18:13:53 +0300 Subject: [PATCH] Update website/src/lib/auth.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- website/src/lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/lib/auth.ts b/website/src/lib/auth.ts index 83efab8..4a37cf9 100644 --- a/website/src/lib/auth.ts +++ b/website/src/lib/auth.ts @@ -10,7 +10,7 @@ import { uploadProfilePicture } from "./server/s3"; if (!privateEnv.GOOGLE_CLIENT_ID) throw new Error('GOOGLE_CLIENT_ID is not set'); if (!privateEnv.GOOGLE_CLIENT_SECRET) throw new Error('GOOGLE_CLIENT_SECRET is not set'); -if (!publicEnv.PUBLIC_BETTER_AUTH_URL) throw new Error('BETTER_AUTH_URL is not set'); +if (!publicEnv.PUBLIC_BETTER_AUTH_URL) throw new Error('PUBLIC_BETTER_AUTH_URL is not set'); export const auth = betterAuth({ baseURL: publicEnv.PUBLIC_BETTER_AUTH_URL,