remove: eliminar GeoIP completamente, no era necesario

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-20 10:25:05 -05:00
co-authored by Claude Sonnet 4.6
parent d66fe95514
commit 1d152b6de0
2 changed files with 0 additions and 15 deletions
-9
View File
@@ -35,15 +35,6 @@ func LoadBuiltInMiddlewares(app *config.AppConfig) {
func Location(c *fiber.Ctx) (string, error) {
if Http.GeoIP == nil {
return "127.0.0.1", nil
}
ip := IP(c)
_, err := Http.GeoIP.GetLocation(ip)
return "127.0.0.1", err
}
var fetchIpFromString = regexp.MustCompile(`(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})`)
var possibleHeaderes = []string{
"X-Original-Forwarded-For",