Skip to content

Commit

Permalink
Merge pull request thedataincubator#5 from thedataincubator/redirect-…
Browse files Browse the repository at this point in the history
…index

Remove redirect from / to /index
  • Loading branch information
gotoariel authored Aug 18, 2017
2 parents e6aa3a8 + 9d3e821 commit 4c7fa44
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 4c7fa44

Please sign in to comment.