Compare commits

...

2 Commits

Author SHA1 Message Date
Beverly Nguyen
8fc4a00b99 Merge branch 'main' into 2627-debugging-socketio 2025-09-15 00:23:59 -07:00
Beverly Nguyen
2fc6c48ed4 Fix SocketIO WebSocket connections for production 2025-09-11 00:00:34 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ redis_store = RedisClient()
document_download_client = DocumentDownloadClient()
socketio = SocketIO(
async_mode='gevent',
cors_allowed_origins=[
config.Config.ADMIN_BASE_URL,
],

View File

@@ -2,4 +2,7 @@ from gevent import monkey
monkey.patch_all()
from application import application # noqa
from application import application as flask_app # noqa
from app import socketio # noqa
application = socketio