Skip to content

Commit

Permalink
⚗️ Fix priority
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Jul 30, 2024
1 parent 34ce2aa commit 120cd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iac/Indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function IndexerStack({ app, stack }: StackContext) {
// todo: add erpc service to the ALB
// Add the listener on port 8080 for the rpc
const erpcListener = alb.addListener("ErpcListener", {
port: 81,
port: 80,
protocol: ApplicationProtocol.HTTP,
});
erpcListener.addTargets("ErpcTarget", {
Expand All @@ -110,7 +110,7 @@ export function IndexerStack({ app, stack }: StackContext) {
unhealthyThresholdCount: 5,
healthyHttpCodes: "200",
},
//conditions: [ListenerCondition.pathPatterns(["/main-rpc/*"])],
conditions: [ListenerCondition.pathPatterns(["/main-rpc/*"])],
priority: 10,
});
erpcListener.connections.allowInternally(Port.tcp(4001));
Expand Down

0 comments on commit 120cd3c

Please sign in to comment.