Revert index.html for proper browsing

This commit is contained in:
Alexander Hosking 2018-11-21 23:01:10 -05:00
parent 4814236ee1
commit 3cad4a954f

View File

@ -9,8 +9,7 @@ app.config['FREEZER_RELATIVE_URLS'] = True
app.config['FREEZER_IGNORE_MIMETYPE_WARNINGS'] = True app.config['FREEZER_IGNORE_MIMETYPE_WARNINGS'] = True
@app.route('/') @app.route('/')
@app.route('/index') @app.route('/index.html')
@app.route('/home')
def index(): def index():
categories = os.listdir('projects/') categories = os.listdir('projects/')
projects = [] projects = []