Skip to content

Commit

Permalink
Add CORP header to CF Function output (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranok authored Jan 23, 2025
1 parent 0a11a9a commit 2f41f4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws-css-token-infra/CSSClonedSiteCFFunc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const matching_ref_response = {
statusDescription: 'OK',
headers: {
'content-type': { value: 'image/gif' },
'cache-control': { value: 'no-store' }
'cache-control': { value: 'no-store' },
'cross-origin-resource-policy': { value: 'cross-origin' }
},
body: "\x47\x49\x46\x38\x39\x61\x01\x00\x01\x00\x80\x00\x00\xff\xff\xff"
+ "\xff\xff\xff\x21\xf9\x04\x01\x0a\x00\x01\x00\x2c\x00\x00\x00\x00"
Expand Down

0 comments on commit 2f41f4a

Please sign in to comment.