Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anjina opened this issue Jun 29, 2020 · 0 comments
Open

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

anjina opened this issue Jun 29, 2020 · 0 comments

Comments

@anjina
Copy link

anjina commented Jun 29, 2020

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方法没有被调用,请教大佬解答~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant