Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Delete _middleware.ts

Jonathan Summers-Muirbdcc1f245e2a
diff --git a/apps/docs/pages/_middleware.ts b/apps/docs/pages/_middleware.ts
deleted file mode 100644
index f60f6b77aab..00000000000
--- a/apps/docs/pages/_middleware.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-// middleware.ts
-import { NextRequest, NextResponse } from 'next/server'
-
-// If the incoming request has the "beta" cookie
-// then we'll rewrite the request to /beta
-export function middleware(req: NextRequest) {
- // const isInBeta = JSON.parse(req.cookies.get('beta') || 'false')
- // req.nextUrl.pathname = isInBeta ? '/beta' : '/'
- return NextResponse
-}
-
-// Supports both a single value or an array of matches
-// export const config = {
-// matcher: '/',
-// }