Skip to content

Commit

Permalink
Merge pull request #371 from mojaloop/fix/exp-api-cors
Browse files Browse the repository at this point in the history
fix: restore the headers, as they were removed from the experince api
  • Loading branch information
kalinkrustev authored Oct 10, 2024
2 parents c7f4384 + d1b2621 commit f1d8f31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,11 @@ spec:
host: ${pm4ml_release_name}-experience-api
port:
number: 80
# TODO - check why these headers are applied twice when the following is uncommented
# headers:
# response:
# add:
# access-control-allow-origin: "https://${portal_fqdn}"
# access-control-allow-credentials: "true"
headers:
response:
add:
access-control-allow-origin: "https://${portal_fqdn}"
access-control-allow-credentials: "true"

---
apiVersion: security.istio.io/v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ ttk:
],
}
rules_response__default.json: https://raw.githubusercontent.com/mojaloop/testing-toolkit-test-cases/v16.1.0-fx-snapshot.1/rules/pm4ml/fxp_response_rules.json
api_definitions__mojaloop_connector_backend_2.1__api_spec.yaml: "https://raw.githubusercontent.com/mojaloop/api-snippets/v17.4.0/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml"
api_definitions__mojaloop_connector_outbound_2.1__api_spec.yaml: "https://raw.githubusercontent.com/mojaloop/api-snippets/main/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml"
api_definitions__mojaloop_connector_backend_2.1__api_spec.yaml: "https://raw.githubusercontent.com/mojaloop/api-snippets/v17.7.0/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml"
api_definitions__mojaloop_connector_outbound_2.1__api_spec.yaml: "https://raw.githubusercontent.com/mojaloop/api-snippets/v17.7.0/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml"
api_definitions__mojaloop_connector_outbound_2.1__callback_map.json: []
extraEnvironments:
pm4ml-default-environment.json: {
Expand Down

0 comments on commit f1d8f31

Please sign in to comment.