mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
Set default fallback wsport + small fix.
This commit is contained in:
@@ -370,7 +370,7 @@ const WebSocketManager = {
|
||||
wsPort = window.config.port;
|
||||
}
|
||||
if (!wsPort) {
|
||||
wsPort = window.ws_port || '11701';
|
||||
wsPort = window.ws_port || '11700';
|
||||
}
|
||||
console.log("Using WebSocket port:", wsPort);
|
||||
this.ws = new WebSocket(`ws://${window.location.hostname}:${wsPort}`);
|
||||
|
||||
Reference in New Issue
Block a user