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 wrong or absense of canvas css on production, probably fix collapse (#1184)

Ivan Starkovaf6337c2275e
diff --git a/apps/builder/app/shared/router-utils/path-utils.ts b/apps/builder/app/shared/router-utils/path-utils.ts
index 57147b9d5f..2764c3e462 100644
--- a/apps/builder/app/shared/router-utils/path-utils.ts
+++ b/apps/builder/app/shared/router-utils/path-utils.ts
@@ -139,10 +139,10 @@ export const getBuildUrl = ({
if (env.BUILD_REQUIRE_SUBDOMAIN) {
url.host = `${project.domain}.${url.host}`;
- } else {
- url.searchParams.set("projectId", project.id);
}
+ url.searchParams.set("projectId", project.id);
+
if (mode) {
url.searchParams.set("mode", mode);
}