Fix NextAuth trusted host for Docker deployment
- Add trustHost: true to auth.config.ts - Remove obsolete version field from docker-compose.yml
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { NextAuthConfig } from "next-auth"
|
||||
|
||||
export const authConfig = {
|
||||
trustHost: true,
|
||||
session: {
|
||||
strategy: "jwt",
|
||||
maxAge: 30 * 24 * 60 * 60, // 30 days in seconds
|
||||
|
||||
Reference in New Issue
Block a user