feat: 增加线路优化注册功能
CI / build (20.15.1) (push) Successful in 21m47s

This commit is contained in:
2025-12-09 21:10:05 -08:00
parent a5b4302ab7
commit c79de38d54
6 changed files with 705 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export function Logout() {
Crisp.session.reset(); // 2. Unbind the current session
const pathname = location.pathname;
if (
!['', '/', '/auth', '/tos', '/privacy-policy'].includes(pathname) &&
!['', '/', '/auth', '/tos', '/privacy-policy', '/register'].includes(pathname) &&
!pathname.startsWith('/purchasing') &&
!pathname.startsWith('/oauth/')
) {