Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: update form action to point to www app for leads

Brad Barbin7bf86f89e179
diff --git a/apps/www/app/routes/_index.tsx b/apps/www/app/routes/_index.tsx
index 6366dd4e29..43326ede4a 100644
--- a/apps/www/app/routes/_index.tsx
+++ b/apps/www/app/routes/_index.tsx
@@ -1,6 +1,5 @@
import { LuMoveUpRight, LuSend } from "react-icons/lu";
-import { getAppUrl } from "@carbon/auth";
import { Input, Submit, ValidatedForm } from "@carbon/form";
import { toast } from "@carbon/react";
import { useFetcher } from "@remix-run/react";
@@ -64,7 +63,7 @@ export default function Route() {
/>
<ValidatedForm
- action={`${getAppUrl()}/api/subscribe`}
+ action={`/api/subscribe`}
validator={emailValidator}
fetcher={fetcher}
method="post"