mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-18 18:56:26 +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.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…
Reference in New Issue
Block a user