mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-08 02:54:16 +00:00
Update http-server.service.ts
This commit is contained in:
parent
43042fcde0
commit
b6137b8ef1
@ -179,8 +179,10 @@ 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}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user