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.cjs CHANGED
@@ -37731,7 +37731,7 @@ var import_react66 = __toESM(require("react"), 1);
37731
37731
  // src/molecules/creator-discovery/MCQCard/defaultFetchers.ts
37732
37732
  function getBackendOrigin() {
37733
37733
  if (typeof window === "undefined") return null;
37734
- return window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0) ?? null;
37734
+ 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;
37735
37735
  }
37736
37736
  function getBaseUrl() {
37737
37737
  const backend = getBackendOrigin();