From 18c12e41dc3eae93a4f0c34b4de191995dfbb0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Tue, 2 Sep 2025 17:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E9=AA=8C=E8=AF=81=20?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20=E5=8A=A0=E5=85=A5=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .env.production | 1 + components/auth/auth-guard.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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(() => {