intelica-library-components 1.1.71 → 1.1.72

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.
@@ -698,12 +698,12 @@ const ResponseHeadersInterceptor = (req, next) => {
698
698
  if (event instanceof HttpResponse) {
699
699
  const Domain = window.location.hostname.split(".").slice(-2).join(".");
700
700
  const Secure = !Domain.includes("localhost");
701
- if (!Secure) {
702
- const headers = event.headers;
703
- const newToken = headers.get("TokenNew");
704
- if (newToken != null && newToken != "")
705
- setCookie("token", newToken, CookieAttributesGeneral);
706
- }
701
+ // if (!Secure) {
702
+ const headers = event.headers;
703
+ const newToken = headers.get("TokenNew");
704
+ if (newToken != null && newToken != "")
705
+ setCookie("token", newToken, CookieAttributesGeneral);
706
+ // }
707
707
  }
708
708
  }));
709
709
  };