mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-01-07 20:59:32 -06:00
[release] v0.14.0-unstable14
This commit is contained in:
@@ -243,7 +243,7 @@ func BlockByCountryMiddleware(blockedCountries []string, CountryBlacklistIsWhite
|
||||
return
|
||||
}
|
||||
} else {
|
||||
Warn("Missing geolocation information to block IPs")
|
||||
Debug("Missing geolocation information to block IPs")
|
||||
}
|
||||
} else {
|
||||
for _, blockedCountry := range blockedCountries {
|
||||
@@ -254,7 +254,7 @@ func BlockByCountryMiddleware(blockedCountries []string, CountryBlacklistIsWhite
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Warn("Missing geolocation information to block IPs")
|
||||
Debug("Missing geolocation information to block IPs")
|
||||
}
|
||||
|
||||
next.ServeHTTP(w, r)
|
||||
|
||||
Reference in New Issue
Block a user