summaryrefslogtreecommitdiff
path: root/apps/web/src/proxy.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-27 21:20:46 +0100
committerMaze Winther <mazewinther@gmail.com>2026-03-29 15:58:46 +0200
commitf8a03908270da03a4aff47020dadee802317abd2 (patch)
treedff04b8ed792c91d0d6b5fb908494cb7343789f7 /apps/web/src/proxy.ts
parentd862e56e34ad1a76836cc2716b473a61879f2205 (diff)
downloadopencut-f8a03908270da03a4aff47020dadee802317abd2.tar.gz
chore: rename proxy to middleware
Diffstat (limited to 'apps/web/src/proxy.ts')
-rw-r--r--apps/web/src/proxy.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/web/src/proxy.ts b/apps/web/src/proxy.ts
deleted file mode 100644
index cdad61c1..00000000
--- a/apps/web/src/proxy.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { NextResponse } from "next/server";
-
-export async function proxy() {
- 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).*)",
- ],
-};