From f5dcf75075c013bbfdf9cdb6716afee777620c73 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 22 Apr 2017 14:06:35 +0200 Subject: Added upload API. Also updated the API (previously help) page. --- fbin/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fbin/__init__.py') diff --git a/fbin/__init__.py b/fbin/__init__.py index bdeaa5d..6c6a9f5 100644 --- a/fbin/__init__.py +++ b/fbin/__init__.py @@ -30,10 +30,9 @@ def context_processors(): } with app.app_context(): - # TODO: Enable API when done from .fbin import app as fbin - #from .api import app as api + from .api import app as api from .login import login_manager app.register_blueprint(fbin) - #app.register_blueprint(api, url_prefix = '/api') + app.register_blueprint(api, url_prefix = '/api') login_manager.init_app(app) -- cgit v1.2.3