mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:25:58 +00:00
fix: remove middleware file
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
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('/home', request.url));
|
|
||||||
}
|
|
||||||
|
|
||||||
// See "Matching Paths" below to learn more
|
|
||||||
export const config = {
|
|
||||||
matcher: '/about/:path*',
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user