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
+14 -14
View File
@@ -1,14 +1,14 @@
/**
* Router 公共导出
*
* 集中管理:
* - 路由常量(ROUTES、ROUTE_BUILDERS、AUTH_ONLY_ROUTES、PUBLIC_ROUTES、ALL_STATIC_ROUTES
* - Next.js 16 ProxyCDN 端鉴权重定向)
*
* 业务层导入示例:
* ```ts
* import { ROUTES, AUTH_ONLY_ROUTES, type Route } from "@/router";
* ```
*/
export * from "./routes";
export { proxy, config as proxyConfig } from "./proxy";
// /**
// * Router 公共导出
// *
// * 集中管理:
// * - 路由常量(ROUTES、ROUTE_BUILDERS、AUTH_ONLY_ROUTES、PUBLIC_ROUTES、ALL_STATIC_ROUTES
// * - Next.js 16 ProxyCDN 端鉴权重定向)
// *
// * 业务层导入示例:
// * ```ts
// * import { ROUTES, AUTH_ONLY_ROUTES, type Route } from "@/router";
// * ```
// */
// export * from "./routes";
// export { proxy, config as proxyConfig } from "./proxy";