Updated middleware and next config

This commit is contained in:
2025-09-06 23:19:11 +02:00
parent e604294208
commit 9247c88be0
2 changed files with 10 additions and 1 deletions

9
src/middleware.ts Normal file
View File

@@ -0,0 +1,9 @@
import { NextRequest } from "next/server"
export async function middleware(req: NextRequest) {
console.log(`[Middleware] ${req.method} ${req.nextUrl.pathname}`)
}
export const config = {
matcher: "/(.*)"
}