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
  • Loading branch information
mineme0110 committed Nov 22, 2023
1 parent 9b672aa commit c30fc1f
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 c30fc1f

Please sign in to comment.