chore(router): disable router proxy and re-exports by commenting out

Comment out `src/router/index.ts` and `src/router/proxy.ts` to temporarily
disable the Next.js 16 proxy (auth-driven redirects) and router re-exports.
This effectively turns off the centralized route guard logic and stops the
proxy from intercepting requests until further iteration.
This commit is contained in:
2026-06-15 11:50:09 +08:00
parent 5d1aebdfad
commit ca3adb0f5b
3 changed files with 106 additions and 102 deletions
+4
View File
@@ -8,6 +8,10 @@
* - `as const` 让每个值都是字符串字面量类型,可用于 `PageProps<'/literal'>`。
* - 不导出 Client-only 模块(`use-auth-gate` 走独立路径导入),保证 Server bundle 不被污染。
* - 动态深链通过 `ROUTE_BUILDERS` 函数生成,避免手拼字符串。
*
* 注意:proxy 路由跳转逻辑(2026-06-15 迁出),但本文件的**类型化常量**仍在
* 被 9 个组件(auth-screen / chat-header / quota-dialog / DeepLinkPersist /
* error / not-found / page / sidebar-screen / splash-screen)使用 —— **不能**整体注释。
*/
/** 静态路由字面量 */