TSW icon indicating copy to clipboard operation
TSW copied to clipboard

wsRouter 没有默认值, 嗅探会报错告警

Open RobinzZH opened this issue 7 years ago • 0 comments

如果没有配置wsRouter,一旦收到websocket请求,就会因为找不到路由配置而报错

image

默认只是配置了router的默认值,而没有配置wsRouter https://github.com/Tencent/TSW/blob/master/bin/tsw/default/config.default.js#L102

image

RobinzZH avatar Sep 29 '19 07:09 RobinzZH