hostname fix
This commit is contained in:
parent
e883dfdaac
commit
831b4cff7b
|
@ -151,7 +151,7 @@ export class UtilsService implements UtilsServiceAbstraction {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uriString.indexOf('://') === -1) {
|
if (uriString.indexOf('://') === -1 && uriString.indexOf('.') > -1) {
|
||||||
uriString = 'http://' + uriString;
|
uriString = 'http://' + uriString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue