From 0e8b3523b8fe62c8ef247c876dbda7ac5b8a0dc8 Mon Sep 17 00:00:00 2001 From: MathiasDPX <56231137+MathiasDPX@users.noreply.github.com> Date: Fri, 20 Sep 2024 21:47:55 +0200 Subject: [PATCH] Remove index route --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index 3a106f2..80761cd 100644 --- a/app.py +++ b/app.py @@ -104,7 +104,6 @@ def translateDay(weekday: int): case _: return "???" @app.route('/') -@app.route('/index') def home(): delta = request.args.get("delta", default=0, type=int) @@ -126,4 +125,4 @@ def home(): return render_template('index.html', page_actuelle='home', films=showtimes[delta], dates=dates) if __name__ == '__main__': - app.run() \ No newline at end of file + app.run()