邮箱验证 页面 加入白名单

This commit is contained in:
北枳 2025-09-02 17:12:20 +08:00
parent 4bbffb517a
commit 18c12e41dc
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
# NEXT_PUBLIC_BASE_URL = https://pre.movieflow.api.huiying.video

View File

@ -1,3 +1,4 @@
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
# NEXT_PUBLIC_BASE_URL = https://pre.movieflow.api.huiying.video
NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com

View File

@ -18,7 +18,7 @@ export default function AuthGuard({ children }: AuthGuardProps) {
const pathname = usePathname();
// 不需要鉴权的页面
const publicPaths = ['/','/login', '/signup', '/forgot-password', '/Terms', '/Privacy'];
const publicPaths = ['/','/login', '/signup', '/forgot-password', '/Terms', '/Privacy', '/activate'];
const isPublicPath = publicPaths.includes(pathname);
useEffect(() => {