mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-06 12:43:18 +00:00
Big update, corpus analysis reworked, versioned services, preliminary work for contributions
This commit is contained in:
@ -39,9 +39,6 @@ def create_app(config: Config = Config) -> Flask:
|
||||
socketio.init_app(
|
||||
app, message_queue=app.config['NOPAQUE_SOCKETIO_MESSAGE_QUEUE_URI'])
|
||||
|
||||
# from .utils import HashidConverter
|
||||
# app.url_map.converters['hashid'] = HashidConverter
|
||||
|
||||
from .events import socketio as socketio_events
|
||||
from .events import sqlalchemy as sqlalchemy_events
|
||||
|
||||
@ -54,6 +51,9 @@ def create_app(config: Config = Config) -> Flask:
|
||||
from .auth import bp as auth_blueprint
|
||||
app.register_blueprint(auth_blueprint, url_prefix='/auth')
|
||||
|
||||
from .contribute import bp as contribute_blueprint
|
||||
app.register_blueprint(contribute_blueprint, url_prefix='/contribute')
|
||||
|
||||
from .corpora import bp as corpora_blueprint
|
||||
app.register_blueprint(corpora_blueprint, url_prefix='/corpora')
|
||||
|
||||
|
Reference in New Issue
Block a user