Skip to content

Commit

Permalink
gargoyle-ip-query: Add new IP and geo lookup provider ip2location.io
Browse files Browse the repository at this point in the history
  • Loading branch information
lantis1008 committed Feb 17, 2024
1 parent 013f4dd commit 6749b46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/gargoyle-ip-query/src/gipquery.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ char default_ip_lookup_url[][MAX_LOOKUP_URL_LENGTH] = {
"https://ifconfig.co/ip",
"https://ipapi.co/ip",
"https://api.ip.sb/ip",
"https://ip2location.io/ip",
"\0"
};

Expand All @@ -64,6 +65,7 @@ char default_geoip_lookup_url[][MAX_LOOKUP_URL_LENGTH] = {
"https://geoip-db.com/json/[[IP]]",
"https://ipapi.co/[[IP]]/json",
"https://api.ip.sb/geoip/[[IP]]",
"https://api.ip2location.io/?ip=[[IP]]",
"\0"
};

Expand Down

0 comments on commit 6749b46

Please sign in to comment.