Skip to content

Commit 29306fd

Browse files
Merge pull request #1193 from tommygood/patch-1
Provide default DAPR_HTTP_PORT fallback (3500) in state_management/javascript.
2 parents a7ee51c + 83bc579 commit 29306fd

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)