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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Wrong path in rate limiting (#2570)
Ivan Starkov167c594243de
diff --git a/apps/builder/middleware.js b/apps/builder/middleware.jsindex e3994cfda7..db28ed7ad8 100644--- a/apps/builder/middleware.js+++ b/apps/builder/middleware.js@@ -312,7 +312,7 @@ app.use("*", async (ctx, next) => {ctx.set("skipRateLimit",- url.pathname.startsWith("/assets/") ||+ url.pathname.startsWith("/asset/") ||url.pathname.startsWith("/build/") ||url.pathname.endsWith(".ico"));diff --git a/fixtures/webstudio-custom-template/.webstudio/data.json b/fixtures/webstudio-custom-template/.webstudio/data.jsonindex 174a93672a..ceb405d7a4 100644--- a/fixtures/webstudio-custom-template/.webstudio/data.json+++ b/fixtures/webstudio-custom-template/.webstudio/data.json@@ -1,10 +1,10 @@{"build": {- "id": "07051f2f-686c-4031-9a5d-67b8073a5a21",+ "id": "33b9a2ff-ce2f-499d-8e9d-121dc35dab8f","projectId": "0d856812-61d8-4014-a20a-82e01c0eb8ee",- "version": 17,- "createdAt": "2023-11-03T11:20:29.565Z",- "updatedAt": "2023-11-03T11:20:29.565Z",+ "version": 22,+ "createdAt": "2023-11-05T17:42:09.984Z",+ "updatedAt": "2023-11-05T17:42:09.984Z","pages": {"meta": {"siteName": "Fixture Site",diff --git a/fixtures/webstudio-custom-template/app/__generated__/[sitemap.xml].ts b/fixtures/webstudio-custom-template/app/__generated__/[sitemap.xml].tsindex a477c535e4..22f3662444 100644--- a/fixtures/webstudio-custom-template/app/__generated__/[sitemap.xml].ts+++ b/fixtures/webstudio-custom-template/app/__generated__/[sitemap.xml].ts@@ -2,7 +2,7 @@ export const sitemap = {pages: [{path: "",- lastModified: "2023-11-03T11:20:29.565Z",+ lastModified: "2023-11-05T17:42:09.984Z",},],};