thinkjs icon indicating copy to clipboard operation
thinkjs copied to clipboard

多模块项目下websocket不生效问题

Open anjina opened this issue 4 years ago • 0 comments

DESC

ENV

OS Platform:

Node.js Version: 12.0

ThinkJS Version: 3.0

按照官方文档配置websock后,客户端连接时可以连接上,但是openAction里面的方法没有被调用,看到路由信息是正确的,请问是哪里出了问题,下面是相关代码: adapter.js image

src/adrule/controller/url.js image

日志信息 image image

看日志信息,路由信息是对的,但是不知道为啥open方法没有被调用,请教大佬解答~~~

anjina avatar Jun 29 '20 16:06 anjina