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.

build: http and https to port 3000

Brad Barbinf4e58a440cf4
diff --git a/sst.config.ts b/sst.config.ts
index a707319b23..1b19366c29 100644
--- a/sst.config.ts
+++ b/sst.config.ts
@@ -23,8 +23,8 @@ export default $config({
dns: false,
cert: process.env.CERT_ARN_ERP,
},
- rules: [
- { listen: "80/http", redirect: "443/https" },
+ ports: [
+ { listen: "80/http", forward: "3000/http" },
{ listen: "443/https", forward: "3000/http" },
],
health: {
@@ -105,8 +105,8 @@ export default $config({
dns: false,
cert: process.env.CERT_ARN_MES,
},
- rules: [
- { listen: "80/http", redirect: "443/https" },
+ ports: [
+ { listen: "80/http", forward: "3000/http" },
{ listen: "443/https", forward: "3000/http" },
],
health: {