mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-19 07:18:14 +00:00
Update http-server.service.ts
This commit is contained in:
@ -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}`;
|
||||||
|
Reference in New Issue
Block a user