From dc82ed0707aea055a6e7aded22481f74f6f8dfc0 Mon Sep 17 00:00:00 2001 From: TimyIsCool <74112751+TimyIsCool@users.noreply.github.com> Date: Mon, 11 Apr 2022 22:53:53 +0100 Subject: [PATCH 1/2] Update miningcore.js --- js/miningcore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/miningcore.js b/js/miningcore.js index a85985c..5b67693 100644 --- a/js/miningcore.js +++ b/js/miningcore.js @@ -30,7 +30,7 @@ if (WebURL.substring(WebURL.length-1) != "/") WebURL = WebURL + "/"; console.log('Corrected WebURL, does not end with / -> New WebURL : ', WebURL); } -var API = WebURL + "api/"; // API address is: https://domain.com/api/ +var API = "http:///http://:/api/"; // API address is: https://domain.com/api/ // API correction if not ends with / if (API.substring(API.length-1) != "/") { From 0d4065d7460526d921329697f29b3efcdb79ef3b Mon Sep 17 00:00:00 2001 From: TimyIsCool <74112751+TimyIsCool@users.noreply.github.com> Date: Mon, 27 Mar 2023 19:12:23 +0100 Subject: [PATCH 2/2] Update miningcore.js --- js/miningcore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/miningcore.js b/js/miningcore.js index 5b67693..10ca923 100644 --- a/js/miningcore.js +++ b/js/miningcore.js @@ -30,7 +30,7 @@ if (WebURL.substring(WebURL.length-1) != "/") WebURL = WebURL + "/"; console.log('Corrected WebURL, does not end with / -> New WebURL : ', WebURL); } -var API = "http:///http://:/api/"; // API address is: https://domain.com/api/ +var API = "http://ipordomaintominingcore/api"; // API address is: https://domain.com/api/ // API correction if not ends with / if (API.substring(API.length-1) != "/") {