@steroidsjs/core 3.1.4 → 3.1.6

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.
@@ -78,8 +78,9 @@ var HttpComponent = /** @class */ (function () {
78
78
  this._components = components;
79
79
  this._isWindowAvailable = !process.env.IS_SSR && process.env.PLATFORM !== 'mobile';
80
80
  this.apiUrl = config.apiUrl
81
- //|| process.env.APP_BACKEND_URL
82
- || (this._isWindowAvailable ? window.location.protocol + '//' + window.location.host : '');
81
+ || (this._isWindowAvailable
82
+ ? window.location.protocol + '//' + window.location.host
83
+ : '');
83
84
  this.accessTokenKey = config.accessTokenKey || 'accessToken';
84
85
  this.clientStorageName = config.clientStorageName || this._components.clientStorage.STORAGE_COOKIE;
85
86
  this.clientStorageExpiresIn = config.clientStorageExpiresIn || 180;