mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix freegeoip (#13193)
This commit is contained in:
parent
24a9da85c0
commit
0ef4340099
@ -10,7 +10,7 @@ from typing import Any, Optional, Tuple, Dict
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
ELEVATION_URL = 'http://maps.googleapis.com/maps/api/elevation/json'
|
ELEVATION_URL = 'http://maps.googleapis.com/maps/api/elevation/json'
|
||||||
FREEGEO_API = 'https://freegeoip.io/json/'
|
FREEGEO_API = 'https://freegeoip.net/json/'
|
||||||
IP_API = 'http://ip-api.com/json'
|
IP_API = 'http://ip-api.com/json'
|
||||||
|
|
||||||
# Constants from https://github.com/maurycyp/vincenty
|
# Constants from https://github.com/maurycyp/vincenty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user