Виджет с усреднёнными точками на карте
This commit is contained in:
@@ -86,7 +86,7 @@ class TileProxyView(View):
|
||||
url = f"{self.TILE_BASE_URL}/{footprint_name}/{z}/{x}/{y}.png"
|
||||
|
||||
try:
|
||||
resp = requests.get(url, timeout=self.REQUEST_TIMEOUT, verify=r'/home/vesemir/DataStorage/cert.pem')
|
||||
resp = requests.get(url, timeout=self.REQUEST_TIMEOUT)
|
||||
if resp.status_code == 200:
|
||||
response = HttpResponse(resp.content, content_type="image/png")
|
||||
response["Access-Control-Allow-Origin"] = "*"
|
||||
|
||||
Reference in New Issue
Block a user