diff --git a/accountant/__init__.py b/accountant/__init__.py index 04ea72d..ae6a20c 100644 --- a/accountant/__init__.py +++ b/accountant/__init__.py @@ -30,13 +30,13 @@ db = SQLAlchemy(app) # Must be after db declaration because some components in blueprints need it. from .api import blueprint as api -from .frontend import blueprint as frontend +#from .frontend import blueprint as frontend -app.register_blueprint(frontend, url_prefix='/app') +#app.register_blueprint(frontend, url_prefix='/app') app.register_blueprint(api, url_prefix='/api') # Redirect / to frontend index. @app.route('/') def index(): - return redirect(url_for('frontend.index')) + return redirect(url_for('api.doc'))