From 96b60b5643c41fb0324272a218d00759ec167c7e Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 28 May 2026 03:37:42 +0800 Subject: [PATCH] fix: bind device pod service port --- cmd/hwlab-device-pod/main.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hwlab-device-pod/main.mjs b/cmd/hwlab-device-pod/main.mjs index f0f1510f..d2734ac0 100644 --- a/cmd/hwlab-device-pod/main.mjs +++ b/cmd/hwlab-device-pod/main.mjs @@ -8,7 +8,7 @@ import { buildDevicePodRestPayload } from "../../internal/device-pod/fake-data.mjs"; -const port = parsePort(process.env.PORT, parsePort(process.env.HWLAB_DEVICE_POD_PORT, 7601)); +const port = parsePort(process.env.HWLAB_DEVICE_POD_PORT, parsePort(process.env.PORT, 7601)); const devicePodId = process.env.HWLAB_DEVICE_POD_ID || DEFAULT_DEVICE_POD_ID; listen(createServer((request, response) => {