diff --git a/server/authjs-handler.ts b/server/authjs-handler.ts index 9399c2f..967a380 100644 --- a/server/authjs-handler.ts +++ b/server/authjs-handler.ts @@ -35,9 +35,10 @@ if (!globalThis.crypto) { const authjsConfig = { basePath: "/api/auth", - trustHost: Boolean( - env.AUTH_TRUST_HOST ?? env.VERCEL ?? env.NODE_ENV !== "production" - ), + // trustHost: Boolean( + // env.AUTH_TRUST_HOST ?? env.VERCEL ?? env.NODE_ENV !== "production" + // ), + trustHost: true, // TODO: Replace secret {@see https://authjs.dev/reference/core#secret} secret: "buginoo", providers: [