websocket default connection url is wrong
Opened this issue · 5 comments
TangMonk commented
Marsup commented
It seems to be a common problem on macos to have bad dns resolution on your local hostname, check your /etc/hosts file for any misconfiguration.
TangMonk commented
@Marsup I think the better way is this:
in file: https://github.com/hapijs/tv/blob/master/templates/index.html#L18
change
window.app.start(host, port);
to
window.app.start(location.host, port);
this way is no need to configuration the host, It more easy
Marsup commented
It's working perfectly fine for everyone else. Fix your network or set the server host manually.