mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-06 12:43:18 +00:00
Add api blueprint.
This commit is contained in:
@ -24,6 +24,9 @@ def create_app(config_name):
|
||||
scheduler.init_app(app)
|
||||
scheduler.start()
|
||||
|
||||
from .api import api as api_blueprint
|
||||
app.register_blueprint(api_blueprint, url_prefix='/api')
|
||||
|
||||
from .auth import auth as auth_blueprint
|
||||
app.register_blueprint(auth_blueprint, url_prefix='/auth')
|
||||
|
||||
|
Reference in New Issue
Block a user