diff --git a/install/run.php b/install/run.php index 6cb1879d3..232cd79f3 100644 --- a/install/run.php +++ b/install/run.php @@ -268,7 +268,7 @@ return new Promise((resolve, reject) => { $.ajax({ - url: "" + "index.php/migrate", + url: `${window.location.origin}/index.php/migrate`, dataType: 'json', success: async function(response) { if (response.status == 'success') { @@ -297,7 +297,7 @@ return new Promise((resolve, reject) => { $.ajax({ - url: "" + "index.php/update/dxcc", + url: `${window.location.origin}/index.php/update/dxcc`, success: async function(response) { if (response == 'success') { running(field, false);