diff --git a/infrastructure/charts/mediator/templates/apisixroute.yaml b/infrastructure/charts/mediator/templates/apisixroute.yaml index 1f6772c4..e9e6aa91 100644 --- a/infrastructure/charts/mediator/templates/apisixroute.yaml +++ b/infrastructure/charts/mediator/templates/apisixroute.yaml @@ -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