remove dashboard and link bar

This commit is contained in:
Timur Ercan
2023-08-16 09:03:28 +02:00
committed by Mythie
parent 94b9b1060b
commit 759b864b14
4 changed files with 8 additions and 30 deletions

View File

@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
export default async function middleware(req: NextRequest) {
if (req.nextUrl.pathname === '/') {
const redirectUrl = new URL('/dashboard', req.url);
const redirectUrl = new URL('/documents', req.url);
return NextResponse.redirect(redirectUrl);
}