fix: bind device pod service port

This commit is contained in:
Codex
2026-05-28 03:37:42 +08:00
parent d86f6a8bae
commit 96b60b5643
+1 -1
View File
@@ -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) => {