changed the flask system to an api. switching over to php for the webinterface

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-09 17:41:51 +01:00
parent baf5596e3d
commit 5a407f877c
1 changed files with 0 additions and 6 deletions

View File

@ -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)