Skip to content

Commit

Permalink
fix: restore the headers, as they were removed from the experince api
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev committed Oct 10, 2024
1 parent c7f4384 commit bee2724
Showing 1 changed file with 5 additions and 6 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

0 comments on commit bee2724

Please sign in to comment.