... #4022
...
#4022
-
... |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Jul 14, 2021
Replies: 1 comment 2 replies
-
If your website is located at <script src="https://cdn.socket.io/4.1.3/socket.io.js"></script>
<script>
var socket = io({
path: "/chat/socket.io"
});
</script> Reference: https://socket.io/docs/v4/client-initialization/#path |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
darrachequesne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your website is located at
site.net/chat
, you need to customize thepath
option on the client side:Reference: https://socket.io/docs/v4/client-initialization/#path