Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-Lyard committed Aug 11, 2024
2 parents 7413a2c + 5cb13f4 commit 7db28dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ async function i18nMiddleware(request: NextRequest) {
}

export async function middleware(request: NextRequest) {
if (request.nextUrl.pathname.startsWith('/api')) {
return NextResponse.next();
}
if (
request.nextUrl.pathname.startsWith('/fr/user') ||
request.nextUrl.pathname.startsWith('/en/user') ||
Expand Down

0 comments on commit 7db28dd

Please sign in to comment.