always `traustHost`

master
Avraham Sakal 3 weeks ago
parent edfaabeb0d
commit 680d734f85

@ -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: [

Loading…
Cancel
Save