refactor(login): page styling
This commit is contained in:
parent
64bd361b57
commit
4d781775e3
8 changed files with 66 additions and 43 deletions
|
@ -1,10 +1,3 @@
|
|||
import { handlers } from '@/auth';
|
||||
import { NextRequest, NextResponse } from 'next/server';
|
||||
|
||||
export const { GET, POST } = handlers;
|
||||
|
||||
export async function middleware(request: NextRequest) {
|
||||
if (request.nextUrl.pathname === '/') {
|
||||
return NextResponse.redirect(new URL('/login', request.url));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue