pxengine 0.1.62 → 0.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
@@ -37440,7 +37440,7 @@ import React96 from "react";
37440
37440
  // src/molecules/creator-discovery/MCQCard/defaultFetchers.ts
37441
37441
  function getBackendOrigin() {
37442
37442
  if (typeof window === "undefined") return null;
37443
- return window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0) ?? null;
37443
+ return window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0) ?? window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_BACKEND_URL ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_BACKEND_URL : void 0) ?? null;
37444
37444
  }
37445
37445
  function getBaseUrl() {
37446
37446
  const backend = getBackendOrigin();