mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 00:06:38 +00:00
Remove index route
This commit is contained in:
parent
97f6db0155
commit
0e8b3523b8
1 changed files with 1 additions and 2 deletions
3
app.py
3
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()
|
||||
app.run()
|
||||
|
|
Loading…
Reference in a new issue