diff --git a/int/api/html/front/registry.js b/int/api/html/front/registry.js index 4136c3e6e..019d2ff05 100644 --- a/int/api/html/front/registry.js +++ b/int/api/html/front/registry.js @@ -24,7 +24,7 @@ function tableInsert(website) { .getElementById("website-deployers-table") .getElementsByTagName("tbody")[0]; const row = tBody.insertRow(-1); - const url = "http://" + website[NAME] + ".massa/"; + const url = `//${website[NAME]}.massa:${window.location.port}/`; // const cell0 = row.insertCell(); removed unit args class is available const cell1 = row.insertCell(); diff --git a/int/api/html/front/website.js b/int/api/html/front/website.js index 82a156637..e278648c3 100644 --- a/int/api/html/front/website.js +++ b/int/api/html/front/website.js @@ -162,7 +162,7 @@ async function tableInsert(resp, count) { .getElementById("website-deployers-table") .getElementsByTagName("tbody")[0]; const row = tBody.insertRow(-1); - const url = "http://" + resp.name + ".massa/"; + const url = `//${resp.name}.massa:${window.location.port}/`; const cell0 = row.insertCell(); const cell1 = row.insertCell();