@chatsystem/client 1.1.62 → 1.1.63

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.
package/dist/index.mjs CHANGED
@@ -17609,7 +17609,7 @@ function ag(e, {
17609
17609
  class Hn {
17610
17610
  constructor() {
17611
17611
  }
17612
- static getApiUrl = () => typeof document < "u" && new URL(document.URL)?.hostname.includes("localhost:3080") ? "http://localhost:3001" : "https://www.api.chatsystem.ai";
17612
+ static getApiUrl = () => typeof document < "u" && new URL(document.URL)?.host.includes("localhost:3080") ? "http://localhost:3001" : "https://www.api.chatsystem.ai";
17613
17613
  static getHeaders = ({ contentType: t = "text/plain" }) => ({
17614
17614
  "Content-Type": t
17615
17615
  });