Skip to content

Commit

Permalink
Remove redirect from / to /index
Browse files Browse the repository at this point in the history
Just serve at /.
  • Loading branch information
rschroll committed Aug 17, 2017
1 parent e6aa3a8 commit 9d3e821
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
app = Flask(__name__)

@app.route('/')
def main():
return redirect('/index')

@app.route('/index')
def index():
return render_template('index.html')

Expand Down

0 comments on commit 9d3e821

Please sign in to comment.