Skip to content

Commit

Permalink
fix: websocket correct indentation (#182)
Browse files Browse the repository at this point in the history
* fix: websocket correct indentation

* fix: websocket correct indentation

Signed-off-by: Shailesh <Patil>
  • Loading branch information
mineme0110 authored and Shailesh committed Apr 30, 2024
1 parent 930307a commit 0dfbe28
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions infrastructure/charts/mediator/templates/apisixroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,7 @@ spec:
backends:
- serviceName: mediator-service
servicePort: 8080
plugins:
- name: proxy-rewrite
enable: true
config:
regex_uri: ["^/(.*)","/$1"]
- name: request-id
enable: true
config:
header_name: "X-Request-ID"
include_in_response: true
{{ template "cors" . }}
- name: mediator-ws-rule
match:
hosts:
{{- range .Values.ingress.applicationUrls }}
- {{ . }}
{{- end }}
paths:
- /*
backends:
- serviceName: mediator-service
servicePort: 8080
websocket: true
websocket: true
plugins:
- name: proxy-rewrite
enable: true
Expand Down

0 comments on commit 0dfbe28

Please sign in to comment.