geolocation tweak

This commit is contained in:
Graham McIntire 2025-07-10 17:28:10 -05:00
parent e6c0bb740b
commit 0785ef954b
No known key found for this signature in database

View file

@ -130,7 +130,7 @@ defmodule AprsmeWeb.Plugs.IPGeolocation do
defp valid_ip_for_geolocation?(_), do: false
defp fetch_ip_location(ip) do
url = "https://ip-api.com/json/#{ip}"
url = "http://ip-api.com/json/#{ip}"
Logger.info("IP geolocation: Making HTTP request to #{url}")
# Configure very short timeout to prevent blocking page load