From 8e9046039dcf0fa7ff4d8a9546f8b42932ad74dc Mon Sep 17 00:00:00 2001 From: jiangyong Date: Sun, 9 Mar 2025 21:32:25 +0800 Subject: [PATCH] xhost --- server/session/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/session/session.go b/server/session/session.go index f89db8a..071bd8c 100644 --- a/server/session/session.go +++ b/server/session/session.go @@ -16,8 +16,8 @@ var ( ) type AdminHeader struct { - Host string `header:"host" json:"-"` Token string `header:"x-token" json:"-"` + Host string `header:"x-host" json:"-"` RemoteIp string `header:"x-remote-ip" json:"public_ip"` }