1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-26 23:09:46 +02: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;
}