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: Fix image ratelimiting (#2562)

Ivan Starkov95995977c2be
diff --git a/apps/builder/middleware.js b/apps/builder/middleware.js
index ae79babd95..e3994cfda7 100644
--- a/apps/builder/middleware.js
+++ b/apps/builder/middleware.js
@@ -312,7 +312,9 @@ app.use("*", async (ctx, next) => {
ctx.set(
"skipRateLimit",
- url.pathname.startsWith("/build/") || url.pathname.endsWith(".ico")
+ url.pathname.startsWith("/assets/") ||
+ url.pathname.startsWith("/build/") ||
+ url.pathname.endsWith(".ico")
);
return next();
});