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 <[email protected]>

Signed-off-by: Shailesh Patil <[email protected]>
  • Loading branch information
mineme0110 committed May 1, 2024
1 parent d496866 commit e182cbe
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 e182cbe

Please sign in to comment.