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 export

Andras Bacsaifdd8b8bd5107
diff --git a/packages/http-client/src/index.ts b/packages/http-client/src/index.ts
index acebfe2724..80e09ce24f 100644
--- a/packages/http-client/src/index.ts
+++ b/packages/http-client/src/index.ts
@@ -3,7 +3,7 @@ import type { Includes, Project } from "./index.d";
const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
-const loadProject = async ({
+export const loadProject = async ({
projectId,
host = process.env.DESIGNER_HOST || "localhost:3000",
include = { tree: true, props: true, breakpoints: true },
@@ -29,4 +29,3 @@ const loadProject = async ({
};
};
-export { loadProject };