From 39e7573e762b154922c3681e0265784997576f40 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Tue, 31 Mar 2026 04:44:04 -0700 Subject: [PATCH] fix: add dhg.lol:51193 to trusted origins --- src/lib/auth.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/auth.ts b/src/lib/auth.ts index a650a7e..ad26b7f 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -18,11 +18,12 @@ export const auth = betterAuth({ secret: process.env.BETTER_AUTH_SECRET, baseURL: process.env.BETTER_AUTH_URL || "http://localhost:3000", trustedOrigins: [ - process.env.BETTER_AUTH_URL || "http://localhost:3000", + "http://dhg.lol:51193", + "http://localhost:3000", "http://127.0.0.1:3000", "http://0.0.0.0:3000", // Parse comma-separated TRUSTED_ORIGINS environment variable - ...(process.env.TRUSTED_ORIGINS ? process.env.TRUSTED_ORIGINS.split(',').map(origin => origin.trim()) : []), + ...(process.env.TRUSTED_ORIGINS ? process.env.TRUSTED_ORIGINS.split(',').map((origin) => origin.trim()) : []), ], session: { cookieCache: {