From d686c54ed2b81f1993c1849c6a4063f20d53c7fe Mon Sep 17 00:00:00 2001 From: Michael Zheng Date: Fri, 29 Dec 2023 19:41:32 -0700 Subject: [PATCH] more changes --- main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 5f7d320..73a0a17 100644 --- a/main.js +++ b/main.js @@ -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) {