You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You might want to use let gateway = ``ws://${window.location.host}/webserialws``;
instead of let gateway = ``ws://${window.location.hostname + window.location.port + window.location.pathname}/webserialws``;
That combination of hostname, port and pathname is not working at all, even on port 80, it tries to access /webserial/webserialws
The text was updated successfully, but these errors were encountered:
You might want to use
let gateway = ``ws://${window.location.host}/webserialws``;
instead of
let gateway = ``ws://${window.location.hostname + window.location.port + window.location.pathname}/webserialws``;
That combination of hostname, port and pathname is not working at all, even on port 80, it tries to access /webserial/webserialws
The text was updated successfully, but these errors were encountered: