diff options
| author | user <user@node5.net> | 2024-04-07 23:10:05 +0200 |
|---|---|---|
| committer | user <user@node5.net> | 2024-04-07 23:10:05 +0200 |
| commit | 0d1ba0fc1bc2c64c7aaaf71f98fd96f35b8b1bab (patch) | |
| tree | 60f40e6546332024d7ee32403e63edb00fd5756d /src/shop_map_node5_net.py | |
| parent | 8b16fb83788a04e806573ae3f80e28156a99f27b (diff) | |
add store heatmap
Diffstat (limited to 'src/shop_map_node5_net.py')
| -rw-r--r-- | src/shop_map_node5_net.py | 5 |
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() |
