diff options
Diffstat (limited to 'uploader/__init__.py')
-rw-r--r-- | uploader/__init__.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/uploader/__init__.py b/uploader/__init__.py index 2d731af..941765d 100644 --- a/uploader/__init__.py +++ b/uploader/__init__.py @@ -9,13 +9,10 @@ from flask_session import Session from uploader.oauth2.client import user_logged_in, authserver_authorise_uri -from .entry import entrybp -from .upload import upload -from .parse import parsebp -from .samples import samples from .base_routes import base from .dbinsert import dbinsertbp from .oauth2.views import oauth2 +from .expression_data import exprdatabp from .errors import register_error_handlers def override_settings_with_envvars( @@ -83,12 +80,9 @@ def create_app(): # setup blueprints app.register_blueprint(base, url_prefix="/") - app.register_blueprint(entrybp, url_prefix="/") - app.register_blueprint(parsebp, url_prefix="/parse") app.register_blueprint(oauth2, url_prefix="/oauth2") - app.register_blueprint(upload, url_prefix="/upload") app.register_blueprint(dbinsertbp, url_prefix="/dbinsert") - app.register_blueprint(samples, url_prefix="/samples") + app.register_blueprint(exprdatabp, url_prefix="/expression-data") register_error_handlers(app) return app |