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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
crbn: local port
Sidwebworks1747290782a1
diff --git a/packages/env/src/index.ts b/packages/env/src/index.tsindex 3ffb5e0f0b..dc373166c2 100644--- a/packages/env/src/index.ts+++ b/packages/env/src/index.ts@@ -383,7 +383,10 @@ export function getAppUrl() {return `https://${process.env.VERCEL_URL}`;}- return "http://localhost:3000";+ // Dev: `crbn up` writes ERP_URL=https://<prefix>.erp.dev into .env.local.+ // Honor it so cross-app sidebar links resolve to the portless hostname+ // instead of the hardcoded localhost:3000 fallback.+ return ERP_URL ?? "http://localhost:3000";}export function getMESUrl() {@@ -399,7 +402,10 @@ export function getMESUrl() {return `https://${process.env.VERCEL_URL}`;}- return "http://localhost:3001";+ // Dev: `crbn up` writes MES_URL=https://<prefix>.mes.dev into .env.local.+ // Honor it so cross-app sidebar links resolve to the portless hostname+ // instead of the hardcoded localhost:3001 fallback.+ return MES_URL ?? "http://localhost:3001";}export function getBrowserEnv() {