@stemy/ngx-utils 11.2.4 → 11.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3224,10 +3224,9 @@
3224
3224
  };
3225
3225
  ConfigService.prototype.prepareUrl = function (url, ending) {
3226
3226
  var project = !this.loadedConfig ? "" : this.loadedConfig.project;
3227
- url = url ? "" + url.replace(/\/+$/, "") + ending : ending;
3228
- url = url.replace("[project]", project);
3229
- url = this.universal.isServer && url.startsWith("//") ? "http:" + url : url;
3230
- return url.startsWith("/") ? this.loadedConfig.baseDomain + url.substr(1) : url;
3227
+ url = (url === null || url === void 0 ? void 0 : url.startsWith("/")) ? this.loadedConfig.baseDomain + url.substr(1) : url || "";
3228
+ url = ("" + url.replace(/\/+$/, "") + ending).replace("[project]", project);
3229
+ return this.universal.isServer && url.startsWith("//") ? "http:" + url : url;
3231
3230
  };
3232
3231
  ConfigService.prototype.getConfigValue = function (key) {
3233
3232
  return this.loadedConfig[key];