You’ll want to use the path option:
var wss = new WebSocketServer({server: server, path: "/hereIsWS"});
See full documentation here
You’ll want to use the path option:
var wss = new WebSocketServer({server: server, path: "/hereIsWS"});
See full documentation here