Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix

Andras Bacsai3eddc7e265ac
diff --git a/apps/designer/app/designer/features/topbar/publish.tsx b/apps/designer/app/designer/features/topbar/publish.tsx
index c0e35f1bf5..9b4db43873 100644
--- a/apps/designer/app/designer/features/topbar/publish.tsx
+++ b/apps/designer/app/designer/features/topbar/publish.tsx
@@ -20,7 +20,7 @@ import env from "~/shared/env";
type PublishButtonProps = { project: Project };
const host = () => {
- if (env.EDGE_DEPLOYMENT && env.EDGE_DOMAIN) {
+ if (env.EDGE_DEPLOYMENT === "true" && env.EDGE_DOMAIN !== "") {
return env.EDGE_DOMAIN;
}
if (typeof location === "object") {