@social-mail/social-mail-client 1.2.221 → 1.2.222

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.
@@ -47697,9 +47697,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
47697
47697
  return;
47698
47698
  }
47699
47699
  void this.ready.then(() => {
47700
+ var _a;
47700
47701
  const dom = new DOMParser();
47701
47702
  const doc = dom.parseFromString(v, "text/html");
47702
47703
  let baseElement = doc.querySelector("base");
47704
+ if ((_a = baseElement === null || baseElement === void 0 ? void 0 : baseElement.href) === null || _a === void 0 ? void 0 : _a.startsWith("/api/site/")) {
47705
+ baseElement.remove();
47706
+ baseElement = null;
47707
+ }
47703
47708
  if (baseElement) {
47704
47709
  const href = baseElement.getAttribute("href");
47705
47710
  if (href !== this.baseUrl) {