mirror of
https://github.com/langgenius/dify.git
synced 2026-04-17 03:16:33 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
6 lines
194 B
Python
6 lines
194 B
Python
import socketio # type: ignore[reportMissingTypeStubs]
|
|
|
|
from configs import dify_config
|
|
|
|
sio = socketio.Server(async_mode="gevent", cors_allowed_origins=dify_config.CONSOLE_CORS_ALLOW_ORIGINS)
|