fix client IP handling behind proxies
This commit is contained in:
@@ -17,7 +17,7 @@ func Diff(previous, current *Config) []FieldChange {
|
||||
changes = append(changes, FieldChange{Path: path, Hot: hot})
|
||||
}
|
||||
|
||||
if previous.Server != current.Server {
|
||||
if !reflect.DeepEqual(previous.Server, current.Server) {
|
||||
addChange("server", false)
|
||||
}
|
||||
if previous.Database != current.Database {
|
||||
|
||||
Reference in New Issue
Block a user