mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: set trustHost
This commit is contained in:
parent
1c2aec7187
commit
6bb1a5a5a0
1
auth.ts
1
auth.ts
@ -5,6 +5,7 @@ import getEnv from "./lib/env-entry";
|
|||||||
|
|
||||||
export const { handlers, signIn, signOut, auth } = NextAuth({
|
export const { handlers, signIn, signOut, auth } = NextAuth({
|
||||||
secret: "this_is_nezha_dash_web_secret",
|
secret: "this_is_nezha_dash_web_secret",
|
||||||
|
trustHost: true,
|
||||||
providers: [
|
providers: [
|
||||||
Credentials({
|
Credentials({
|
||||||
credentials: {
|
credentials: {
|
||||||
|
Loading…
Reference in New Issue
Block a user