Move index file in static.
This commit is contained in:
parent
17e3b56d5c
commit
b0e7187995
@ -26,4 +26,4 @@ assets.register('frontend_css', frontend_css)
|
|||||||
@blueprint.route('/', defaults={'path': 'accounts'})
|
@blueprint.route('/', defaults={'path': 'accounts'})
|
||||||
@blueprint.route('/<path:path>')
|
@blueprint.route('/<path:path>')
|
||||||
def index(path):
|
def index(path):
|
||||||
return render_template('layout.html')
|
return blueprint.send_static_file('index.html')
|
||||||
|
Loading…
Reference in New Issue
Block a user