초기 커밋
This commit is contained in:
14
app/communication/socketio/server.py
Normal file
14
app/communication/socketio/server.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import socketio
|
||||
|
||||
from app.core.config import settings
|
||||
|
||||
sio = socketio.AsyncServer(
|
||||
async_mode="asgi",
|
||||
cors_allowed_origins=settings.CORS_ORIGINS,
|
||||
logger=settings.DEBUG,
|
||||
engineio_logger=False,
|
||||
)
|
||||
|
||||
sio_app = socketio.ASGIApp(sio)
|
||||
Reference in New Issue
Block a user