ruoyi-admin/src/main/resources/application.yml
@@ -280,3 +280,11 @@
      show-details: ALWAYS
    logfile:
      external-file: ./logs/sys-console.log
--- # websocket
websocket:
  enabled: true
  # 路径
  path: /websocket
  # 设置访问源地址
  allowedOrigins: '*'