diff --git a/accountant/frontend/__init__.py b/accountant/frontend/__init__.py index 2b6022f..366b5a4 100644 --- a/accountant/frontend/__init__.py +++ b/accountant/frontend/__init__.py @@ -23,7 +23,6 @@ assets.register('frontend_js', frontend_js) assets.register('frontend_css', frontend_css) -@blueprint.route('/', defaults={'path': 'accounts'}) -@blueprint.route('/') -def index(path): +@blueprint.route('/') +def index(): return blueprint.send_static_file('index.html')