diff --git a/app.py b/app.py index 94ce4b5..30b09d8 100644 --- a/app.py +++ b/app.py @@ -150,7 +150,9 @@ def update_status(): def home(): config = load_config() logger.debug(f"Loaded devices: {config['devices']}") - return render_template('index.html', devices=config['devices']) + devices = config['devices'] + logger.debug(f"Rendering template with devices: {devices}") + return render_template('index.html', devices=devices) @app.route('/api/status') def status(): diff --git a/style.css b/static/style.css similarity index 100% rename from style.css rename to static/style.css diff --git a/index.html b/templates/index.html similarity index 100% rename from index.html rename to templates/index.html