Browse Source

hostname fix

pull/3/head
Kyle Spearrin 8 years ago
parent
commit
831b4cff7b
  1. 2
      src/services/utils.service.ts

2
src/services/utils.service.ts

@ -151,7 +151,7 @@ export class UtilsService implements UtilsServiceAbstraction { @@ -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;
}

Loading…
Cancel
Save