Skip to content

Commit

Permalink
feat(middleware): remove the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
revengemiroz committed Jul 28, 2023
1 parent 4055b67 commit 7187a7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/web/middleware.ts
Original file line number Diff line number Diff line change
@@ -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*'],
};

0 comments on commit 7187a7e

Please sign in to comment.