We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
socket建立连接时,是通过url参数提交tunnelId的,
wss://domain.com/?tunnelId=e6ff4f5e-219e-4582-8eb7-b828361ab9ae&tcId=7d73ae32b755aed8bc9a5b084525fb72
但看代码像是从cookie里拿,这里是不是需要优化?
weapp-node-tunnel/middleware/auth.js
Line 14 in 75b9c30
The text was updated successfully, but these errors were encountered:
cookie中间件有处理url参数,同时支持cookie和url参数两种方式传递
weapp-node-tunnel/middleware/cookies.js
Line 4 in 75b9c30
Sorry, something went wrong.
No branches or pull requests
socket建立连接时,是通过url参数提交tunnelId的,
但看代码像是从cookie里拿,这里是不是需要优化?
weapp-node-tunnel/middleware/auth.js
Line 14 in 75b9c30
The text was updated successfully, but these errors were encountered: