diff --git a/proxy.ts b/proxy.ts index e741b2eb9..6eddc003b 100644 --- a/proxy.ts +++ b/proxy.ts @@ -258,7 +258,8 @@ export async function proxy(request: NextRequest) { pathname === "/login" || pathname === "/register" || pathname === "/riji" || - pathname.startsWith("/riji/"); + pathname.startsWith("/riji/") || + pathname.startsWith("/worlds/share/"); // 未登录用户允许访问公开页面,其余需要登录 if (!token && !isPublicPage) {