Move index file in static.

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

No files matched your search

+1 -1
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')