Move index file in static.

This commit is contained in:
Alexis Lahouze 2016-02-17 08:43:35 +01:00
parent 17e3b56d5c
commit b0e7187995
2 changed files with 1 additions and 1 deletions

View File

@ -26,4 +26,4 @@ assets.register('frontend_css', frontend_css)
@blueprint.route('/', defaults={'path': 'accounts'})
@blueprint.route('/<path:path>')
def index(path):
return render_template('layout.html')
return blueprint.send_static_file('index.html')