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

Roman Pominovab07e10da5a3
diff --git a/apps/designer/app/routes/rest/pages.$projectId.ts b/apps/designer/app/routes/rest/pages.$projectId.ts
index 6d60c423d0..ab828a39f2 100644
--- a/apps/designer/app/routes/rest/pages.$projectId.ts
+++ b/apps/designer/app/routes/rest/pages.$projectId.ts
@@ -72,7 +72,8 @@ export const action: ActionFunction = async ({ request, params }) => {
}
if (request.method.toLowerCase() === "put") {
- await handlePUT(params.projectId, request);
+ const result = await handlePUT(params.projectId, request);
+ return result;
}
throw new Error(`Method ${request.method} is not supported`);