Change8

astro@5.16.4

📦 astroView on GitHub →
🐛 2 fixes🔧 1 symbols

Summary

This patch fix ensures that Content Security Policy (CSP) resources from both configuration and runtime APIs are correctly merged and deduplicated to produce valid headers.

🐛 Bug Fixes

  • Fixed a bug where CSP resources from the configuration were not properly combined with those added via the runtime API, leading to malformed headers.
  • Implemented deduplication of CSP resources when merging global configuration with runtime directives.

🔧 Affected Symbols

Astro.csp.insertDirective