Skip to content

Commit

Permalink
Add cors config for live environments
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPlowman committed Apr 9, 2024
1 parent 6b84799 commit de2d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxies/live/apiproxy/policies/AssignMessage.AddCors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Set>
<Headers>
<Header name="Access-Control-Allow-Origin">{request.header.origin}</Header>
<Header name="Access-Control-Allow-Headers">origin, x-requested-with, accept, content-type, nhsd-session-urid</Header>
<Header name="Access-Control-Allow-Headers">origin, x-requested-with, accept, content-type, nhsd-session-urid, x-correlation-id, x-request-id</Header>
<!--you can add headers here if you want to expose
<Header name="Access-Control-Expose-Headers">origin, x-requested-with, accept, content-type, nhsd-session-urid, x-my-new-header</Header> -->
<Header name="Access-Control-Max-Age">3628800</Header>
Expand Down

0 comments on commit de2d78e

Please sign in to comment.