From 6bb1a5a5a0a2594cce4f4e11f0b68f7876218f4a Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 21 Oct 2024 02:59:20 +0800 Subject: [PATCH] fix: set trustHost --- auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/auth.ts b/auth.ts index d53aeae..dea71d1 100644 --- a/auth.ts +++ b/auth.ts @@ -5,6 +5,7 @@ import getEnv from "./lib/env-entry"; export const { handlers, signIn, signOut, auth } = NextAuth({ secret: "this_is_nezha_dash_web_secret", + trustHost: true, providers: [ Credentials({ credentials: {