problem with load balancer session cookies with socket io client #4877
-
Hello again, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
On socket io client side adding withCredentials: true does the trick. import io from "socket.io-client" |
Beta Was this translation helpful? Give feedback.
On socket io client side adding withCredentials: true does the trick.
import io from "socket.io-client"
const socket = io.connect('socket io server', {
withCredentials: true
});