From 100f269540a60b8617491b05fbdc2aad2c4b4a25 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Tue, 15 Jan 2019 16:17:25 +0100 Subject: [PATCH] Fix naming --- app/routes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/routes.py b/app/routes.py index e0c26ec..6459aa9 100644 --- a/app/routes.py +++ b/app/routes.py @@ -28,11 +28,12 @@ def add_header(r): def index(): return render_template('plots.html', plots=PLOTS) -@app.route('') + @app.route('/ahrs.html') -def index(): +def ahrs(): return render_template('plots.html', plots=AHRS_PLOTS) + @app.route('/plots/<path:filename>') def custom_static(filename): print(filename) -- GitLab