Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NoozAbooz committed Dec 30, 2023
1 parent 1520e68 commit d686c54
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ onmessage = function(event) {
// })

try {
var socket = new WebSocket(`wss://${ip}:${port}`); // this is currently broken because of CORS on the duinotize server
var socket = new WebSocket(`wss://magi.duinocoin.com:14808`);
}
catch (error) {
console.error('Connecting to fallback server because pool could not be fetched (likley a CORS issue?): ' + error);
var socket = new WebSocket("wss://magi.duinocoin.com:14808");
console.error('DUCO server is down?: ' + error);
}

socket.onopen = function(event) {
Expand Down

0 comments on commit d686c54

Please sign in to comment.