From 9d3e8212d9b7e539546e59cc4ffe1760280b3fc3 Mon Sep 17 00:00:00 2001 From: Robert Schroll Date: Thu, 17 Aug 2017 15:50:13 -0700 Subject: [PATCH] Remove redirect from / to /index Just serve at /. --- app.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.py b/app.py index fb918170b..374ec7343 100644 --- a/app.py +++ b/app.py @@ -3,10 +3,6 @@ app = Flask(__name__) @app.route('/') -def main(): - return redirect('/index') - -@app.route('/index') def index(): return render_template('index.html')