From f8a03908270da03a4aff47020dadee802317abd2 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Fri, 27 Mar 2026 21:20:46 +0100 Subject: chore: rename proxy to middleware --- apps/web/src/middleware.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/web/src/middleware.ts (limited to 'apps/web/src/middleware.ts') diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.ts new file mode 100644 index 00000000..c7f28025 --- /dev/null +++ b/apps/web/src/middleware.ts @@ -0,0 +1,18 @@ +import { NextResponse } from "next/server"; + +export async function middleware() { + return NextResponse.next(); +} + +export const config = { + matcher: [ + /* + * Match all request paths except for the ones starting with: + * - api (API routes) + * - _next/static (static files) + * - _next/image (image optimization files) + * - favicon.ico (favicon file) + */ + "/((?!api|_next/static|_next/image|favicon.ico).*)", + ], +}; -- cgit v1.3.1