Skip to content

Commit

Permalink
fix: middleware matcher for build purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
HoreKk committed May 6, 2024
1 parent 5edaa74 commit aff3d4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webapp-next/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ export function middleware(request: NextRequest) {
return NextResponse.redirect(new URL('/bo', request.url));
}
}
}
}

export const config = {
matcher: ["/((?!api|_next/static|_next/image|favicon.ico).*)"],
};

0 comments on commit aff3d4b

Please sign in to comment.