mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-26 14:00:13 +00:00
Update http-server.service.ts
This commit is contained in:
parent
c420dd8512
commit
5cb3aa051b
@ -179,10 +179,8 @@ export class HttpServer {
|
|||||||
if (server.host && server.port) {
|
if (server.host && server.port) {
|
||||||
if (server.authorization === 'basic') {
|
if (server.authorization === 'basic') {
|
||||||
url = `https://${server.host}:${server.port}/v2${url}`;
|
url = `https://${server.host}:${server.port}/v2${url}`;
|
||||||
console.log(url);
|
|
||||||
} else {
|
} else {
|
||||||
url = `http://${server.host}:${server.port}/v2${url}`;
|
url = `http://${server.host}:${server.port}/v2${url}`;
|
||||||
console.log(url);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
url = `/v2${url}`;
|
url = `/v2${url}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user