Commit 94924a58 authored by Aron Gergely's avatar Aron Gergely
Browse files

Updated API '/worldmap' resource

parent e48e4d08
......@@ -64,7 +64,7 @@ def apimessage():
def worldmap():
"""Returns a world map in GeoJSON"""
with app.open_resource('static/data/world_borders.geojson') as f:
with app.open_resource('static/data/countries.geojson') as f:
data = json.load(f)
return json.dumps(data)
#return app.send_static_file('data/world_borders.geojson')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment