Skip to content

无法设置响应。

ResponseSentError:响应已发送到浏览器并且无法更改。

¥ResponseSentError: The response has already been sent to the browser and cannot be altered.

¥What went wrong?

对响应进行更改(例如设置标头、Cookie 和状态码)只能在 页面组件 中完成。

¥Making changes to the response, such as setting headers, cookies, and the status code can only be done in page components.

也可以看看:

¥See Also:

Astro v5.16 中文网 - 粤ICP备13048890号