mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-11-15 21:34:18 +01:00
Fixed #706
- Added conditional injection of x-proxy-by zoraxy header by only injecting tracker when -dev flag is set to true
This commit is contained in:
@@ -172,6 +172,7 @@ func (router *Router) StartProxyService() error {
|
||||
NoRemoveHopByHop: endpointProxyRewriteRules.DisableHopByHopHeaderRemoval,
|
||||
PathPrefix: "",
|
||||
Version: sep.parent.Option.HostVersion,
|
||||
DevelopmentMode: sep.parent.Option.DevelopmentMode,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user