refactor(website): 邀请/注册页语言跟随站点路由(六语变体),移除卡内 zh/EN 切换
ci-pangolin / Redline Scan — 脱敏 (UI 文案) (pull_request) Successful in 22s
ci-pangolin / Codegen Drift — token 生成物未漂移 (pull_request) Successful in 8s
ci-pangolin / Cleartext Scan — Android 禁明文 (pull_request) Successful in 22s
ci-pangolin / DS-flow — 原型/跨端同源/代码色单源闸 (pull_request) Successful in 9s
ci-pangolin / Portable SQL — 可移植性 (mysql/sqlite) (pull_request) Successful in 22s
ci-pangolin / Go — build + test (pull_request) Failing after 17s
ci-pangolin / E2E Smoke — L4 进程级端到端 (pull_request) Failing after 9s
ci-pangolin / Go — integration (mysql/redis testcontainers) (pull_request) Failing after 4m30s
ci-pangolin / Golden — 视觉回归 (全量:components/auth/desktop/tablet) (pull_request) Failing after 20s
ci-pangolin / Flutter — analyze + test (pull_request) Failing after 12m46s
ci-pangolin / OpenAPI Sync Check (pull_request) Failing after 12m57s
ci-pangolin / Lint — shellcheck (pull_request) Failing after 13m6s
ci-pangolin / Redline Scan — 脱敏 (UI 文案) (pull_request) Successful in 22s
ci-pangolin / Codegen Drift — token 生成物未漂移 (pull_request) Successful in 8s
ci-pangolin / Cleartext Scan — Android 禁明文 (pull_request) Successful in 22s
ci-pangolin / DS-flow — 原型/跨端同源/代码色单源闸 (pull_request) Successful in 9s
ci-pangolin / Portable SQL — 可移植性 (mysql/sqlite) (pull_request) Successful in 22s
ci-pangolin / Go — build + test (pull_request) Failing after 17s
ci-pangolin / E2E Smoke — L4 进程级端到端 (pull_request) Failing after 9s
ci-pangolin / Go — integration (mysql/redis testcontainers) (pull_request) Failing after 4m30s
ci-pangolin / Golden — 视觉回归 (全量:components/auth/desktop/tablet) (pull_request) Failing after 20s
ci-pangolin / Flutter — analyze + test (pull_request) Failing after 12m46s
ci-pangolin / OpenAPI Sync Check (pull_request) Failing after 12m57s
ci-pangolin / Lint — shellcheck (pull_request) Failing after 13m6s
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Cloudflare Pages 重写规则。
|
||||
# 邀请落地页:App 分享链接固定形如 /i/<8位邀请码>;CF Pages 静态托管无路由参数,
|
||||
# 用重写把任意邀请码路径统一指到 /i/ 的静态产物,邀请码本身由页面 JS 从
|
||||
# location.pathname 解析(见 src/components/InviteCard.jsx)。
|
||||
# 邀请落地页:App 分享链接固定形如 /i/<8位邀请码>(语言中立,默认落到英文根);
|
||||
# 各语言前缀下也有对应的邀请落地页(/zh/i/、/ja/i/ 等,用户从 Header 切换语言后停留)。
|
||||
# CF Pages 静态托管无路由参数,用重写把任意邀请码路径统一指到各自语言的静态产物,
|
||||
# 邀请码本身由页面 JS 从 location.pathname 解析(见 src/components/InviteCard.jsx)。
|
||||
/i/* /i/ 200
|
||||
/zh/i/* /zh/i/ 200
|
||||
/ja/i/* /ja/i/ 200
|
||||
/ko/i/* /ko/i/ 200
|
||||
/ru/i/* /ru/i/ 200
|
||||
/es/i/* /es/i/ 200
|
||||
|
||||
Reference in New Issue
Block a user