如何更改socket.io.slim.js中socket.io的路径
我正在使用socket.io在我们的一个元项目中进行多源体验。我们已将代码部署在HTTPS服务器中,部署了多源体验后。检查错误时,我们发现了以下错误。 在这里输入映像
有人可以提出任何改变这条道路的想法吗?
I am using socket.io for multiuser experience in one of our metaverse projects. We have deployed the code in a https server and after deploying the multiuser experience collapsed. When check for errors, we have found the following error.
enter image description here
we need to change the path of Url for where it needs to look for socket.io.
Can someone suggest any ideas for changing this path?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这通常意味着两件事之一:
,请确保socket.io使用https服务器,而不是http One,并且客户端正在连接到正确的域。
This usually means one of 2 things:
Make sure socket.io is using the HTTPS server, not the HTTP one, and the client is connecting to the correct domain.