@ohhwells/bridge 0.1.15 → 0.1.16
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -3962,7 +3962,7 @@ function OhhwellsBridge() {
|
|
|
3962
3962
|
}
|
|
3963
3963
|
let cancelled = false;
|
|
3964
3964
|
setFetchState("loading");
|
|
3965
|
-
const apiUrl =
|
|
3965
|
+
const apiUrl = process.env.NEXT_PUBLIC_FLOWOPS_API_URL ?? "https://flowops-backend-staging-2yfdh7pwpq-as.a.run.app";
|
|
3966
3966
|
fetch(`${apiUrl}/api/public/sites/${subdomain}/content`, { cache: "no-store" }).then((r2) => r2.ok ? r2.json() : null).then((data) => {
|
|
3967
3967
|
if (cancelled) return;
|
|
3968
3968
|
const content = data?.content ?? {};
|