mirror of
https://github.com/vernette/ipregion.git
synced 2026-04-28 03:19:29 +00:00
fix(ipregion): ipv4 for restcountries api
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m23s
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m23s
This commit is contained in:
parent
72c6b344d2
commit
87e4008428
1 changed files with 1 additions and 1 deletions
|
|
@ -1733,7 +1733,7 @@ lookup_gemini_supported() {
|
|||
fi
|
||||
|
||||
country_name=$(curl_wrapper GET "https://restcountries.com/v3.1/alpha/${country_code}?fields=name" \
|
||||
--ip-version "$ip_version")
|
||||
--ip-version "4")
|
||||
country_name=$(process_json "$country_name" ".name.common")
|
||||
|
||||
if [[ -z "$country_name" || "$country_name" == "null" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue