diff --git a/.env.development b/.env.development index 58dc325..98b72e7 100644 --- a/.env.development +++ b/.env.development @@ -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 diff --git a/.env.production b/.env.production index d3ac252..50e8e57 100644 --- a/.env.production +++ b/.env.production @@ -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 diff --git a/components/auth/auth-guard.tsx b/components/auth/auth-guard.tsx index 3ced090..031197c 100644 --- a/components/auth/auth-guard.tsx +++ b/components/auth/auth-guard.tsx @@ -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(() => {