diff options
Diffstat (limited to 'gn3/app.py')
-rw-r--r-- | gn3/app.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,8 @@ from typing import Union from flask import Flask from gn3.api.gemma import gemma +from gn3.api.general import general + def create_app(config: Union[Dict, str, None] = None) -> Flask: """Create a new flask object""" @@ -23,5 +25,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: app.config.update(config) elif config.endswith(".py"): app.config.from_pyfile(config) + app.register_blueprint(general, url_prefix="/") app.register_blueprint(gemma, url_prefix="/gemma") return app |