Skip to content

Commit

Permalink
Update src/content/docs/zh-cn/reference/configuration-reference.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Nin3 <[email protected]>
  • Loading branch information
liruifengv and Nin3lee authored Dec 18, 2024
1 parent 4fa3943 commit 423b10e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ $ astro build --root ./my-project-directory

这些功能仅存在于使用 `server` 模式按需渲染的页面,或在 `static` 模式中选择退出预渲染的页面。

默认情况下,Astro 将自动检查在动态渲染的页面中,每个请求发送的 URL 是否与origin头匹配。你可以通过将 `checkOrigin` 设置为 `false` 来禁用此行为:
默认情况下,Astro 将自动检查在动态渲染的页面中,每个请求发送的 URL 是否与 "origin" 头匹配。你可以通过将 `checkOrigin` 设置为 `false` 来禁用此行为:

```js
// astro.config.mjs
Expand Down

0 comments on commit 423b10e

Please sign in to comment.