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.

add comment

Sara Vieirae5460c826276
diff --git a/apps/designer/app/routes/designer/$id.tsx b/apps/designer/app/routes/designer/$id.tsx
index fb946b01fb..bfb8d44c54 100644
--- a/apps/designer/app/routes/designer/$id.tsx
+++ b/apps/designer/app/routes/designer/$id.tsx
@@ -7,6 +7,8 @@ import config from "~/config";
import env from "~/env.server";
import { uploadAssets } from "~/shared/db/misc.server";
import { ErrorMessage } from "~/shared/error";
+// if this file does not end in .server remix will not build
+// since it only allows node code in those files
import { loadByProject } from "@webstudio-is/asset-uploader/src/db/index.server";
export { links };