aboutsummaryrefslogtreecommitdiff
path: root/src/shop_map_node5_net.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/shop_map_node5_net.py')
-rw-r--r--src/shop_map_node5_net.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shop_map_node5_net.py b/src/shop_map_node5_net.py
index 3be40e2..8ab97bc 100644
--- a/src/shop_map_node5_net.py
+++ b/src/shop_map_node5_net.py
@@ -27,6 +27,11 @@ def chains():
return json.dumps(color_by_name)
+@app.route("/stores.json")
+def stores():
+ return db_handler.get_stores()
+
+
@app.route("/supermarkets.json")
def supermarkets():
return db_handler.get_supermarkets()