refactor(guide): always redirect to introduction

This commit is contained in:
iCrawl
2023-04-16 17:38:45 +02:00
parent 29389e39f4
commit f2fce0a7da
5 changed files with 18 additions and 28 deletions

View File

@@ -0,0 +1,9 @@
import { NextResponse, type NextRequest } from 'next/server';
export default async function middleware(request: NextRequest) {
return NextResponse.redirect(new URL('/guide/home/introduction', request.url));
}
export const config = {
matcher: ['/'],
};