fix(web): 迁移首页 locale 根布局#149
Merged
Merged
Conversation
让英文根路径与中文路径分别输出正确的 html lang,迁移旧 /en/ 首页,并移除无公开价值的 kit 路由。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
将 Next 16 的 globalNotFound 开关置于 experimental 配置,保证多根布局在开发与静态导出中一致解析。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Review base: 7beb6a8 🤖 GLM-5.2 PR Review |
Deploying inalpha-web with
|
| Latest commit: |
08c5d29
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c4eaeeb2.inalpha-web.pages.dev |
| Branch Preview URL: | https://fix-web-locale-root-layout-p.inalpha-web.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/、中文首页固定在/zh/,使静态 HTML 输出正确的lang属性。/en/临时 302 到/,并移除无公开价值的 Kit 路由与静态产物。globalNotFound,保留法律页 URL/metadata,并将路由边界写入静态导出合同。Test plan
pnpm typecheckpnpm testpnpm buildpnpm test:export/、/zh/、/privacy/返回 200🤖 Generated with Claude Code