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.

experimental: Support beautiful file name (#3851)

Ivan Starkovcd4a38f38bff
diff --git a/apps/builder/app/routes/rest.build.$buildId.tsx b/apps/builder/app/routes/rest.build.$buildId.tsx
index 831382c00e..8da717bda9 100644
--- a/apps/builder/app/routes/rest.build.$buildId.tsx
+++ b/apps/builder/app/routes/rest.build.$buildId.tsx
@@ -11,6 +11,7 @@ export const loader = async ({
}: LoaderFunctionArgs): Promise<
Data & { user: { email: User["email"] } | undefined } & {
projectDomain: string;
+ projectTitle: string;
}
> => {
try {
@@ -38,6 +39,7 @@ export const loader = async ({
...pagesCanvasData,
user: user ? { email: user.email } : undefined,
projectDomain: project.domain,
+ projectTitle: project.title,
};
} catch (error) {
// If a Response is thrown, we're rethrowing it for Remix to handle.