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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
when on webstudio.is - publishing goes to domain.wstd.io
Oleg Isonen0c8a5eb450a2
diff --git a/app/designer/features/topbar/publish.tsx b/app/designer/features/topbar/publish.tsxindex a4671e28ee..f1924b0ff4 100644--- a/app/designer/features/topbar/publish.tsx+++ b/app/designer/features/topbar/publish.tsx@@ -28,7 +28,10 @@ const Content = ({ project }: PublishProps) => {if (typeof location !== "object" || !domain) {return;}- setUrl(`${location.protocol}//${domain}.${location.host}`);+ const host = location.host.includes("webstudio.is")+ ? "wstd.io"+ : location.host;+ setUrl(`${location.protocol}//${domain}.${host}`);}, [domain]);return (