Commit 44b38b3a authored by Cédric Bonhomme's avatar Cédric Bonhomme
parents 61609a29 94924a58
This diff is collapsed.
......@@ -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