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 3112828 commit 689f4a4Copy full SHA for 689f4a4
src/middleware.ts
@@ -1,5 +1,5 @@
1
-import type {NextRequest} from 'next/server';
2
-import {NextResponse} from 'next/server';
+import type { NextRequest } from 'next/server';
+import { NextResponse } from 'next/server';
3
import docsConfig from '../docs.config.js';
4
5
const {updatedRedirectsData} = require('./data/redirects.ts');
@@ -137,8 +137,5 @@ export function middleware(request: NextRequest) {
137
}
138
139
export const config = {
140
- matcher: [
141
- '/((?!api|_next/static|_next/image|assets|favicon.ico|sw.js).*)',
142
- '/admin/:path*'
143
- ]
+ matcher: ['/((?!api|_next/static|_next/image|assets|favicon.ico|sw.js).*)', '/community-forum']
144
};
0 commit comments