From 09293f8ce97f5ce9072a8b779473df2e5feeeabf Mon Sep 17 00:00:00 2001 From: bboysoul <31786046+bboysoulcn@users.noreply.github.com> Date: Mon, 1 Feb 2021 09:54:04 +0800 Subject: [PATCH] Update https.go --- server/proxy/https.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proxy/https.go b/server/proxy/https.go index e26f65b..3e7e262 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -80,7 +80,7 @@ func (https *HttpsServer) Start() error { } } //change the host and header and set proxy setting - common.ChangeHostAndHeader(r, host.HostChange, host.HeaderChange, c.Conn.RemoteAddr().String(), s.addOrigin) + common.ChangeHostAndHeader(r, host.HostChange, host.HeaderChange, c.Conn.RemoteAddr().String(), https.addOrigin) acceptConn := conn.NewConn(c) acceptConn.Rb = rb l.acceptConn <- acceptConn