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.

Update packages/http-client/src/index.ts

Andras Bacsai0f0266197605
diff --git a/packages/http-client/src/index.ts b/packages/http-client/src/index.ts
index 76de1ca3f6..d2ac5f4151 100644
--- a/packages/http-client/src/index.ts
+++ b/packages/http-client/src/index.ts
@@ -51,8 +51,8 @@ export const loadProject = async ({
};
}
- const pagesData = await Promise.all([
- ...urls.map(async (url) => {
+ const pagesData = await Promise.all(
+ urls.map(async (url) => {
const res = await fetch(url.url);
if (res.ok) {
return { path: url.path, type: url.type, data: await res.json() };