1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-29 07:59:42 +01:00

hostname fix

This commit is contained in:
Kyle Spearrin 2018-04-14 10:01:40 -04:00
parent e883dfdaac
commit 831b4cff7b

View File

@ -151,7 +151,7 @@ export class UtilsService implements UtilsServiceAbstraction {
return null;
}
if (uriString.indexOf('://') === -1) {
if (uriString.indexOf('://') === -1 && uriString.indexOf('.') > -1) {
uriString = 'http://' + uriString;
}