We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f808f7 commit 893a05aCopy full SHA for 893a05a
src/middleware.ts
@@ -1,10 +1,6 @@
1
import type {NextRequest} from 'next/server';
2
import {NextResponse} from 'next/server';
3
4
-// This env var is set in next.config.js based on the `NEXT_PUBLIC_DEVELOPER_DOCS` env var at build time
5
-// a workaround edge middleware not having access to env vars
6
-const isDeveloperDocs = process.env.DEVELOPER_DOCS_;
7
-
8
export const config = {
9
// learn more: https://nextjs.org/docs/pages/building-your-application/routing/middleware#matcher
10
matcher: [
0 commit comments