Update website/src/lib/auth.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
34f0cd7ac4
commit
844e4a9ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -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_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 (!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({
|
export const auth = betterAuth({
|
||||||
baseURL: publicEnv.PUBLIC_BETTER_AUTH_URL,
|
baseURL: publicEnv.PUBLIC_BETTER_AUTH_URL,
|
||||||
|
|
|
||||||
Reference in a new issue