@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.
@@ -43861,9 +43861,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
43861
43861
  return;
43862
43862
  }
43863
43863
  void this.ready.then(() => {
43864
+ var _a;
43864
43865
  const dom = new DOMParser();
43865
43866
  const doc = dom.parseFromString(v, "text/html");
43866
43867
  let baseElement = doc.querySelector("base");
43868
+ if ((_a = baseElement === null || baseElement === void 0 ? void 0 : baseElement.href) === null || _a === void 0 ? void 0 : _a.startsWith("/api/site/")) {
43869
+ baseElement.remove();
43870
+ baseElement = null;
43871
+ }
43867
43872
  if (baseElement) {
43868
43873
  const href = baseElement.getAttribute("href");
43869
43874
  if (href !== this.baseUrl) {