fix: align auth env var naming with NEXT_PUBLIC_SITE_URL

This commit is contained in:
2026-04-26 19:35:45 +08:00
parent 067df2ba92
commit 2cc2834e0f
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export const auth = betterAuth({
clientSecret: process.env.DISCORD_CLIENT_SECRET || "",
},
},
trustedOrigins: [process.env.NEXT_PUBLIC_BASE_URL || "https://localhost:3000"],
trustedOrigins: [process.env.NEXT_PUBLIC_SITE_URL || "https://localhost:3000"],
rateLimit: {
enabled: true,
window: 60,