fix(core): update
This commit is contained in:
parent
fced2e845e
commit
31922529ae
@ -36,6 +36,10 @@ export class Smarturl {
|
||||
console.log(`inferring port 443 for "https:"`);
|
||||
parsedUrl.port = '443';
|
||||
}
|
||||
if (!parsedUrl.port && parsedUrl.protocol === 'http:') {
|
||||
console.log(`inferring port 80 for "http:"`);
|
||||
parsedUrl.port = '80';
|
||||
}
|
||||
return parsedUrl;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user