osl-base-extended 1.0.30 → 1.0.32

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.
@@ -238,6 +238,10 @@ class Httpbase {
238
238
  };
239
239
  }
240
240
  handleError(error) {
241
+ if (error.status === 401) {
242
+ // localStorage.clear();
243
+ window.location.href = '/login';
244
+ }
241
245
  return {
242
246
  isSuccessful: false,
243
247
  error: this.mapError(error),