diff --git a/backend/server.go b/backend/server.go index 45ab71a..4ca0c4d 100644 --- a/backend/server.go +++ b/backend/server.go @@ -461,7 +461,7 @@ func server(jobsystem JobSystem, config ConfigRoot) { SetBurst(config.Server.RateLimit.Burst). SetMessageContentType("application/json; charset=utf-8"). SetMessage(string(b)) - if config.Server.RateLimit.IpLookupHeader == "" { + if config.Server.RateLimit.IpLookupHeader != "" { lmt.SetIPLookups([]string{config.Server.RateLimit.IpLookupHeader}) } if config.App == AppMMseqs2 || config.App == AppFoldSeek {