fix(order-processor): provide default DAPR_HTTP_PORT fallback (3500) in state_management/javascript.

Signed-off-by: tommygood <tommy50508@gmail.com>
This commit is contained in:
tommygood 2025-05-24 13:42:38 +00:00
parent a7ee51c88c
commit 83bc579e23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const DAPR_HOST = process.env.DAPR_HOST ?? "localhost"
let port
switch (protocol) {
case "http": {
port = process.env.DAPR_HTTP_PORT
port = process.env.DAPR_HTTP_PORT ?? 3500
break
}
case "grpc": {