跳到內容

Astro.response.headers must not be reassigned.

本頁內容尚未翻譯。

AstroResponseHeadersReassigned: Individual headers can be added to and removed from Astro.response.headers, but it must not be replaced with another instance of Headers altogether.

Thrown when a value is being set as the headers field on the ResponseInit object available as Astro.response.

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community