always traustHost
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user