Skip to content

Commit

Permalink
fix: invalid envoy config
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Apr 30, 2024
1 parent 47e16bc commit f1c7fab
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions packages/dashmate/templates/platform/gateway/envoy.yaml.dot
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,18 @@
# getProofs endpoint only for internal use (DAPI -> Drive)
- match:
path: "/org.dash.platform.dapi.v0.Platform/getProofs"
route:
response_headers_to_add:
- header:
key: "Content-Type"
value: "application/grpc-web+proto"
- header:
key: "grpc-status"
value: "12"
- header:
key: "grpc-message"
value: "getProofs endpoint is only for internal use"
direct_response:
status: 204
response_headers_to_add:
- header:
key: "Content-Type"
value: "application/grpc-web+proto"
- header:
key: "grpc-status"
value: "12"
- header:
key: "grpc-message"
value: "getProofs endpoint is only for internal use"
direct_response:
status: 204
# Drive gRPC endpoints
- match:
prefix: "/org.dash.platform.dapi.v0.Platform"
Expand Down

0 comments on commit f1c7fab

Please sign in to comment.