diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2017-04-22 14:06:35 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2017-04-22 14:08:09 +0200 |
commit | f5dcf75075c013bbfdf9cdb6716afee777620c73 (patch) | |
tree | 26772aa9f5f288bf7fba044b995c1fc28c5a5476 /fbin/__init__.py | |
parent | 8e44431e5b34c2e647c339f332cea32d44797951 (diff) |
Added upload API.
Also updated the API (previously help) page.
Diffstat (limited to 'fbin/__init__.py')
-rw-r--r-- | fbin/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |