This commit is contained in:
Alexander Harding
2026-07-31 21:16:48 -04:00
parent 7144ac8fed
commit 1f53b0767f
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -8,4 +8,6 @@ services:
environment: environment:
NODE_ENV: production NODE_ENV: production
MONGODB_URI: ${MONGODB_URI:-mongodb://mongo:27017/dndextended} MONGODB_URI: ${MONGODB_URI:-mongodb://mongo:27017/dndextended}
AUTH_SECRET: ${AUTH_SECRET} AUTH_SECRET: ${AUTH_SECRET}
AUTH_URL: ${AUTH_URL}
AUTH_TRUST_HOST: ${AUTH_TRUST_HOST:-true}
+1
View File
@@ -4,6 +4,7 @@ import { compare } from "bcryptjs";
import clientPromise from "./mongodb"; import clientPromise from "./mongodb";
export const { handlers, signIn, signOut, auth } = NextAuth({ export const { handlers, signIn, signOut, auth } = NextAuth({
trustHost: true,
providers: [ providers: [
Credentials({ Credentials({
credentials: { credentials: {