登录界面优化

This commit is contained in:
ryan
2026-06-12 11:00:26 +08:00
parent d9df78d2c7
commit 6a1f89936e
13 changed files with 474 additions and 353 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export function proxy(request: NextRequest) {
}
/* 页面请求:公共路由放行 */
const publicRoutes = ['/', '/login', '/callback', '/privacy', '/terms']
const publicRoutes = ['/', '/login', '/register', '/callback', '/privacy', '/terms']
const publicPrefixes = ['/docs/', '/epay/']
if (publicRoutes.includes(pathname) || publicPrefixes.some(p => pathname.startsWith(p))) {