From 573268923e743de5ec7a75d2ecd6c29d72b2be91 Mon Sep 17 00:00:00 2001 From: Halcy0nic Date: Mon, 28 Oct 2024 10:18:59 -0600 Subject: [PATCH] Fix: Updating status indicators --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index 2dcde53..5ceaca6 100644 --- a/app.py +++ b/app.py @@ -742,6 +742,10 @@ def set_gateways(): return jsonify({"message": "Gateway IPs updated successfully"}), 200 +@app.route('/get_gateways', methods=['GET']) +def get_gateways(): + return jsonify(gateway_ips) + @app.route('/downloadPackets', methods=['GET']) def downloadPackets(): """