add branch tout-savoir
This commit is contained in:
1 parent
a75221ba0f
commit
5d5adbdc35
150 files changed
+17747
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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('/about-2', request.url))
|
||||
}
|
||||
|
||||
// See "Matching Paths" below to learn more
|
||||
export const config = {
|
||||
matcher: '/api/',
|
||||
}
|
||||
Reference in new issue
Block a user