Skip to content

Commit

Permalink
remove unnecessary/harmful response header setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Oct 2, 2024
1 parent 9e1be5e commit 71de710
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
15 changes: 0 additions & 15 deletions apps/svelte.dev/middleware.js

This file was deleted.

17 changes: 17 additions & 0 deletions apps/svelte.dev/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@
"value": "cross-origin"
}
]
},
{
"source": "/tutorial/(.*)",
"headers": [
{
"key": "cross-origin-opener-policy",
"value": "same-origin"
},
{
"key": "cross-origin-embedder-policy",
"value": "require-corp"
},
{
"key": "cross-origin-resource-policy",
"value": "cross-origin"
}
]
}
]
}

0 comments on commit 71de710

Please sign in to comment.