Skip to content

Commit 83bc579

Browse files
committed
fix(order-processor): provide default DAPR_HTTP_PORT fallback (3500) in state_management/javascript.
Signed-off-by: tommygood <[email protected]>
1 parent a7ee51c commit 83bc579

File tree

1 file changed

+1
-1
lines changed
  • state_management/javascript/http/order-processor

1 file changed

+1
-1
lines changed

state_management/javascript/http/order-processor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const DAPR_HOST = process.env.DAPR_HOST ?? "localhost"
66
let port
77
switch (protocol) {
88
case "http": {
9-
port = process.env.DAPR_HTTP_PORT
9+
port = process.env.DAPR_HTTP_PORT ?? 3500
1010
break
1111
}
1212
case "grpc": {

0 commit comments

Comments
 (0)