mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-16 23:31:04 +01:00
Rename websocket from ws to livedata
Allows devServer to proxy websockets as well...
This commit is contained in:
@@ -90,7 +90,7 @@ export default {
|
||||
window.location.protocol === "https:" ? "wss:" : "ws:";
|
||||
const port = window.location.port;
|
||||
const host = window.location.hostname;
|
||||
const webSocketUrl = socketProtocol + "//" + host + ":" + port + "/ws";
|
||||
const webSocketUrl = socketProtocol + "//" + host + ":" + port + "/livedata";
|
||||
|
||||
this.connection = new WebSocket(webSocketUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user