mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-11-20 15:54:05 +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:
@@ -122,7 +122,8 @@ func ReverseProxyInit() {
|
||||
LoadBalancer: loadBalancer,
|
||||
PluginManager: pluginManager,
|
||||
/* Utilities */
|
||||
Logger: SystemWideLogger,
|
||||
DevelopmentMode: *development_build,
|
||||
Logger: SystemWideLogger,
|
||||
})
|
||||
if err != nil {
|
||||
SystemWideLogger.PrintAndLog("proxy-config", "Unable to create dynamic proxy router", err)
|
||||
|
||||
Reference in New Issue
Block a user