add admin pages layouts
This commit is contained in:
+1
-2
@@ -10,7 +10,6 @@ export default async function proxy(request: NextRequest) {
|
||||
|
||||
if (
|
||||
path.startsWith('/_next') ||
|
||||
path.includes('/api/') ||
|
||||
path.includes('.')
|
||||
) {
|
||||
return NextResponse.next()
|
||||
@@ -26,5 +25,5 @@ export default async function proxy(request: NextRequest) {
|
||||
}
|
||||
|
||||
export const config = {
|
||||
matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)']
|
||||
matcher: ['/((?!_next/static|_next/image|.*\\.png$).*)']
|
||||
};
|
||||
Reference in New Issue
Block a user