diff --git a/src/trendlines/app_factory.py b/src/trendlines/app_factory.py index 3f1b3ae..9cb0a48 100644 --- a/src/trendlines/app_factory.py +++ b/src/trendlines/app_factory.py @@ -40,9 +40,8 @@ def create_app(): logger.debug("Registering blueprints.") - url_prefix = app.config.get("URL_PREFIX", None) - app.register_blueprint(routes.pages, url_prefix=url_prefix) - app.register_blueprint(routes.api, url_prefix=url_prefix) + app.register_blueprint(routes.pages) + app.register_blueprint(routes.api) # Create the database file and populate initial tables if needed. create_db(app.config['DATABASE'])