Remove middleware logging
This commit is contained in:
parent
567d59bf0e
commit
52c9cd3608
@ -11,7 +11,6 @@ import {
|
|||||||
} from './site/paths';
|
} from './site/paths';
|
||||||
|
|
||||||
export default function middleware(req: NextRequest, res:NextResponse) {
|
export default function middleware(req: NextRequest, res:NextResponse) {
|
||||||
console.log('MIDDLEWARE', req.nextUrl.pathname);
|
|
||||||
const pathname = req.nextUrl.pathname;
|
const pathname = req.nextUrl.pathname;
|
||||||
|
|
||||||
if (pathname === PATH_ADMIN) {
|
if (pathname === PATH_ADMIN) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user