stash
This commit is contained in:
parent
4140214c81
commit
08f723e9da
1 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ class ServerSet {
|
||||||
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const url = "http://" + server + target // TODO https
|
const url = "https://" + server + target // TODO https
|
||||||
return await fetch(url, {
|
return await fetch(url, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -59,7 +59,7 @@ class ServerSet {
|
||||||
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const url = "http://" + server + target // TODO https
|
const url = "https://" + server + target // TODO https
|
||||||
return await fetch(url, {
|
return await fetch(url, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -89,7 +89,7 @@ class ServerSet {
|
||||||
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const url = "http://" + server + target // TODO https
|
const url = "https://" + server + target // TODO https
|
||||||
return await fetch(url, {
|
return await fetch(url, {
|
||||||
method: 'PATCH',
|
method: 'PATCH',
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -119,7 +119,7 @@ class ServerSet {
|
||||||
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const url = "http://" + server + target // TODO https
|
const url = "https://" + server + target // TODO https
|
||||||
return await fetch(url, {
|
return await fetch(url, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -149,7 +149,7 @@ class ServerSet {
|
||||||
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
if (this.unreachable_neighbors.queryUnreachable(server)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const url = "http://" + server + target // TODO https
|
const url = "https://" + server + target // TODO https
|
||||||
return await fetch(url, {
|
return await fetch(url, {
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in a new issue