Merge remote-tracking branch 'origin/iipbs/fo/dev'
This commit is contained in:
@@ -139,10 +139,10 @@ export function middleware(req: NextRequest) {
|
||||
});
|
||||
}
|
||||
|
||||
if (pathname === "/") {
|
||||
return NextResponse.redirect(new URL("/pages/dashboard", req.url));
|
||||
}
|
||||
return NextResponse.next();
|
||||
// if (pathname === "/") {
|
||||
// return NextResponse.redirect(new URL("/pages/dashboard", req.url));
|
||||
// }
|
||||
// return NextResponse.next();
|
||||
}
|
||||
|
||||
export const config = {
|
||||
|
||||
Reference in New Issue
Block a user