Release v3.8.0 (#2073)

Integrated into release/v3.8.0
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-05-10 00:55:06 -03:00
committed by GitHub
parent 08e18867fd
commit 3d75fb3fae
726 changed files with 68560 additions and 10908 deletions

View File

@@ -54,6 +54,10 @@ function getRequestPathname(request: RequestLike | Request | null | undefined):
}
}
function isOnboardingBootstrapPath(pathname: string | null): boolean {
return pathname === "/dashboard/onboarding";
}
function getRequestMethod(request: RequestLike | Request | null | undefined): string {
if (
request &&
@@ -273,6 +277,10 @@ export async function isAuthRequired(
if (!request) return false;
const pathname = getRequestPathname(request);
if (isOnboardingBootstrapPath(pathname)) {
return false;
}
if (pathname && isPublicApiRoute(pathname, getRequestMethod(request))) {
return false;
}