forked from 77media/video-flow
邮箱验证 页面 加入白名单
This commit is contained in:
parent
4bbffb517a
commit
18c12e41dc
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user