hostname fix

This commit is contained in:
Kyle Spearrin 2018-04-14 10:01:40 -04:00
parent e883dfdaac
commit 831b4cff7b
1 changed files with 1 additions and 1 deletions

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;
}