Skip to content

Commit

Permalink
LDBR-4.30: Исправить порты (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
DPeshkoff authored Dec 16, 2021
1 parent f5d6237 commit 9ba515f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/modules/Network/Network.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ class Network {
method: 'put',
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.board}/access/` +
`https://${this.BackendUrl}/${this._endpoints.board}/access/` +
`${accessPath}`, options);
}

Expand All @@ -679,7 +679,7 @@ class Network {
method: 'put',
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.board}/${bid}/access`,
`https://${this.BackendUrl}/${this._endpoints.board}/${bid}/access`,
options);
}

Expand All @@ -693,7 +693,7 @@ class Network {
method: 'put',
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.card}/access/tocard/` +
`https://${this.BackendUrl}/${this._endpoints.card}/access/tocard/` +
`${accessPath}`, options);
}

Expand All @@ -707,7 +707,7 @@ class Network {
method: 'put',
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.card}/access/${cid}`,
`https://${this.BackendUrl}/${this._endpoints.card}/access/${cid}`,
options);
}

Expand All @@ -723,7 +723,7 @@ class Network {
body: data,
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/` +
`https://${this.BackendUrl}/` +
`${this._endpoints.attachments}/${cid}`,
options);
}
Expand All @@ -741,7 +741,7 @@ class Network {
},
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.attachments}/${atid}`,
`https://${this.BackendUrl}/${this._endpoints.attachments}/${atid}`,
options);
}

Expand All @@ -756,7 +756,7 @@ class Network {
body: JSON.stringify(data),
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.team}`, options);
`https://${this.BackendUrl}/${this._endpoints.team}`, options);
}

/**
Expand All @@ -772,7 +772,7 @@ class Network {
},
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.team}/${tid}`,
`https://${this.BackendUrl}/${this._endpoints.team}/${tid}`,
options);
}

Expand All @@ -791,7 +791,7 @@ class Network {
body: JSON.stringify(data),
};
return this.httpRequest(
`http://${this.BackendUrl}:${this.BackendPort}/${this._endpoints.team}/${tid}`,
`https://${this.BackendUrl}/${this._endpoints.team}/${tid}`,
options);
}
}
Expand Down

0 comments on commit 9ba515f

Please sign in to comment.