diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -43,6 +43,7 @@ def main_page(): @app.route("/") +@app.route("/index") @app.route("/index.html") def index(): return main_page() @@ -51,13 +52,13 @@ def index(): @app.route("/up") def form(): boiler.up() - return redirect(url_for('/')) + return redirect(url_for('index')) @app.route("/down") def activity(): boiler.down() - return redirect(url_for('/')) + return redirect(url_for('index')) @app.route("/export") |
