always traustHost

This commit is contained in:
Avraham Sakal
2025-09-21 19:42:21 -04:00
parent edfaabeb0d
commit 680d734f85
+4 -3
View File
@@ -35,9 +35,10 @@ if (!globalThis.crypto) {
const authjsConfig = { const authjsConfig = {
basePath: "/api/auth", basePath: "/api/auth",
trustHost: Boolean( // trustHost: Boolean(
env.AUTH_TRUST_HOST ?? env.VERCEL ?? env.NODE_ENV !== "production" // env.AUTH_TRUST_HOST ?? env.VERCEL ?? env.NODE_ENV !== "production"
), // ),
trustHost: true,
// TODO: Replace secret {@see https://authjs.dev/reference/core#secret} // TODO: Replace secret {@see https://authjs.dev/reference/core#secret}
secret: "buginoo", secret: "buginoo",
providers: [ providers: [