dynamic overview

This commit is contained in:
2025-02-07 20:58:23 -05:00
parent 84679a49bb
commit c6273788bf
2 changed files with 14 additions and 4 deletions

6
app.py
View File

@ -153,3 +153,9 @@ if __name__ == '__main__':
status_thread = threading.Thread(target=update_status, daemon=True)
status_thread.start()
app.run(debug=True)
@app.route('/')
def home():
config = load_config()
return render_template('index.html', devices=config['devices'])