From 0d1ba0fc1bc2c64c7aaaf71f98fd96f35b8b1bab Mon Sep 17 00:00:00 2001 From: user Date: Sun, 7 Apr 2024 23:10:05 +0200 Subject: add store heatmap --- src/shop_map_node5_net.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/shop_map_node5_net.py') 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() -- cgit v1.2.3