diff --git a/frontend/src/federation.js b/frontend/src/federation.js index f4553bd..ddf35e4 100644 --- a/frontend/src/federation.js +++ b/frontend/src/federation.js @@ -31,7 +31,7 @@ class ServerSet { if (this.unreachable_neighbors.queryUnreachable(server)) { continue } - const url = "http://" + server + target // TODO https + const url = "https://" + server + target // TODO https return await fetch(url, { method: 'GET', headers: { @@ -59,7 +59,7 @@ class ServerSet { if (this.unreachable_neighbors.queryUnreachable(server)) { continue } - const url = "http://" + server + target // TODO https + const url = "https://" + server + target // TODO https return await fetch(url, { method: 'POST', headers: { @@ -89,7 +89,7 @@ class ServerSet { if (this.unreachable_neighbors.queryUnreachable(server)) { continue } - const url = "http://" + server + target // TODO https + const url = "https://" + server + target // TODO https return await fetch(url, { method: 'PATCH', headers: { @@ -119,7 +119,7 @@ class ServerSet { if (this.unreachable_neighbors.queryUnreachable(server)) { continue } - const url = "http://" + server + target // TODO https + const url = "https://" + server + target // TODO https return await fetch(url, { method: 'PUT', headers: { @@ -149,7 +149,7 @@ class ServerSet { if (this.unreachable_neighbors.queryUnreachable(server)) { continue } - const url = "http://" + server + target // TODO https + const url = "https://" + server + target // TODO https return await fetch(url, { method: 'DELETE', headers: {