@djangocfg/api 1.2.13 → 1.2.14

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
@@ -22726,7 +22726,8 @@ var API = class {
22726
22726
  };
22727
22727
 
22728
22728
  // src/cfg/BaseClient.ts
22729
- var apiUrl = process.env.NEXT_PUBLIC_API_URL || "";
22729
+ var isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === "true";
22730
+ var apiUrl = isStaticBuild ? "" : process.env.NEXT_PUBLIC_API_URL || "";
22730
22731
  var api = new API(
22731
22732
  apiUrl,
22732
22733
  {