@@ -41,7 +41,8 @@ export class ServiceProviderController {
if (!checkServiceProvider) {
return "No service provider found";
- } else {
+ } else if (checkServiceProvider.url > "") { // is valid url
+
let sub = this.http.get(checkServiceProvider.url + query.path).subscribe(
x => {
let newResponse = {};