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
fix: cors error in mes notification
Brad Barbinb2cfe41bec50
diff --git a/apps/mes/app/components/JobOperation.tsx b/apps/mes/app/components/JobOperation.tsxindex ece3a4beef..9013ca6629 100644--- a/apps/mes/app/components/JobOperation.tsx+++ b/apps/mes/app/components/JobOperation.tsx@@ -1090,14 +1090,13 @@ function Notes({ operation }: { operation: OperationWithDetails }) {method: "POST",headers: {"Content-Type": "application/json",- Cookie: document.cookie, // Include cookie header for cross-origin requests},body: JSON.stringify({type: "jobOperationNote",source: "mes",operationId: operation.id,}),- credentials: "include", // Keep credentials: include for cookies+ credentials: "include", // This is sufficient for CORS with cookies});if (!response.ok) {