Skip to content

Commit

Permalink
NPA-3922 Update Sandbox CORS response
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPlowman committed Oct 30, 2024
1 parent 8417abc commit bc03388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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, authorization, x-correlation-id, x-request-id</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
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, x-correlation-id, x-request-id</Header>
<Header name="Access-Control-Allow-Headers">origin, x-requested-with, accept, content-type, nhsd-session-urid, authorization, 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 bc03388

Please sign in to comment.