跳转到内容

You attempted to rewrite a 404 inside a static page, and this isn't allowed.

:::caution[已废弃]此错误来自旧版本的 Astro,已不再使用。如果你无法将项目升级到新版本,那么你可以查阅 未维护的旧文档快照 以获取帮助。:::

InvalidRewrite404: 只有在按需页面中才允许重写 404。

发生了什么错误?

用户尝试在静态页面中重写 404 页面。

贡献 社区 赞助