diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts index 35c4251e..841e61cc 100644 --- a/apps/web/middleware.ts +++ b/apps/web/middleware.ts @@ -1,12 +1,10 @@ import { NextResponse } from 'next/server'; import type { NextRequest } from 'next/server'; -// This function can be marked `async` if using `await` inside export function middleware(request: NextRequest) { return NextResponse.redirect(new URL('/', request.url)); } -// See "Matching Paths" below to learn more export const config = { matcher: ['/create-project', '/user-edit/:path*', '/project-edit/:path*'], };