From 08f723e9daaa1bce1845ac02ae3ce35dec7a82da Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 1 Jul 2023 22:30:28 +0200 Subject: [PATCH] stash --- frontend/src/federation.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: {