1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-27 02:14:24 +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;
}