Merge pull request #521 from pikasTech/fix/device-pod-port-20260527

fix: bind device pod service port
This commit is contained in:
Lyon
2026-05-28 03:38:42 +08:00
committed by GitHub
+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) => {