When running the discovery-swarm-webrtc server, the socket.io defaults set a cookie. These cookies, however, do not set samSite flags, causing warnings in modern browsers:
This PR makes two changes:
Add a --no-cookie option to the command line interface, that stops socket.io from setting cookies.
When running the discovery-swarm-webrtc server, the socket.io defaults set a cookie. These cookies, however, do not set
samSite
flags, causing warnings in modern browsers:This PR makes two changes:
--no-cookie
option to the command line interface, that stops socket.io from setting cookies.sameSite=strict
, which will suppress browser warnings: https://github.com/socketio/engine.io/releases/tag/3.4.1