-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)
Description
Astro Info
Astro v5.10.0
Node v20.19.1
System Linux (x64)
Package Manager npm
Output static
Adapter @astrojs/vercel
Integrations none
If this issue only occurs in one browser, which browser is a problem?
N/A
Describe the Bug
Enabling experimentalStaticHeaders
in the @astrojs/vercel
adapter (combined with enabling experimental CSP) does write the CSP to .vercel/output/config.json
, but the CSP header doesn't actually get included in the document response.
Deployed URL of the minimal template with the documented config options:
https://github-2y2x5yu5-8i6au4xks-justin-halls-projects-df945a1f.vercel.app
What's the expected result?
The document response would include the CSP header.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-2y2x5yu5?file=astro.config.mjs
Participation
- I am willing to submit a pull request for this issue.
moonclavedev
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)