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"` }