Skip to content

Commit

Permalink
chore: update img csp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Ortiz committed Dec 3, 2024
1 parent a83de6f commit fbb2527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/site/src/_middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function _middleware(request: NextRequest) {
default-src 'self';
script-src 'self' 'nonce-${nonce}' 'strict-dynamic' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' blob: data: res.cloudinary.com westpac.com.au;
img-src 'self' blob: data: res.cloudinary.com www.westpac.com.au;
font-src 'self';
object-src 'none';
base-uri 'self';
Expand Down
2 changes: 1 addition & 1 deletion apps/site/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"headers": [
{
"key": "Content-Security-Policy",
"value": "frame-ancestors 'self'; upgrade-insecure-requests; img-src 'self' blob: data: res.cloudinary.com westpac.com.au; font-src 'self'; object-src 'none'; form-action 'self'; connect-src 'self' https://dpm.demdex.net https://vercel.live/; style-src 'self' 'unsafe-inline'; block-all-mixed-content;"
"value": "frame-ancestors 'self'; upgrade-insecure-requests; img-src 'self' blob: data: res.cloudinary.com www.westpac.com.au; font-src 'self'; object-src 'none'; form-action 'self'; connect-src 'self' https://dpm.demdex.net https://vercel.live/; style-src 'self' 'unsafe-inline'; block-all-mixed-content;"
},
{
"key": "X-Content-Type-Options",
Expand Down

0 comments on commit fbb2527

Please sign in to comment.