Update http-server.service.ts

This commit is contained in:
piotrpekala7 2020-11-03 13:46:22 +01:00
parent c420dd8512
commit 5cb3aa051b

View File

@ -179,10 +179,8 @@ export class HttpServer {
if (server.host && server.port) {
if (server.authorization === 'basic') {
url = `https://${server.host}:${server.port}/v2${url}`;
console.log(url);
} else {
url = `http://${server.host}:${server.port}/v2${url}`;
console.log(url);
}
} else {
url = `/v2${url}`;