From 5a407f877c8d54634e9e2ecafc81d8ee930fa439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 9 Feb 2024 17:41:51 +0100 Subject: [PATCH] changed the flask system to an api. switching over to php for the webinterface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/app.py b/server/app.py index 0ef3081..1a632e6 100644 --- a/server/app.py +++ b/server/app.py @@ -79,12 +79,6 @@ def get_assigned_params(tube_id): except Exception as e: return jsonify({'success': False, 'message': f'Error: {e}'}) -# Index route for the web interface -@app.route('/') -def index(): - tubes = get_tubes() - return render_template('index.html', tubes=tubes) - def main(): app.run(host='0.0.0.0', port=5000)