feat: Make geocoding API configurable

This commit is contained in:
2025-01-08 17:57:48 +01:00
parent 33848cbe15
commit b2a3d910d9
2 changed files with 3 additions and 2 deletions

View File

@@ -207,7 +207,8 @@ def search(request):
"map_pins": [search],
"location": search.location,
"search_radius": search.max_distance,
"zoom_level": zoom_level_for_radius(search.max_distance)}
"zoom_level": zoom_level_for_radius(search.max_distance),
"geocoding_api_url": settings.GEOCODING_API_URL,}
return render(request, 'fellchensammlung/search.html', context=context)