underscores are banned

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2024-10-03 11:07:17 -04:00
parent 1036526e1c
commit 5cd8a98101
No known key found for this signature in database

View File

@ -4,7 +4,7 @@ import { NextRequest, NextResponse } from "next/server";
export const config = { export const config = {
// matcher tells Next.js which routes to run the middleware on. // matcher tells Next.js which routes to run the middleware on.
// This runs the middleware on all routes except for static assets. // This runs the middleware on all routes except for static assets.
matcher: ["/((?!_next/static|_next/image|favicon.ico|_healthz).*)"], matcher: ["/((?!_next/static|_next/image|favicon.ico|healthz).*)"],
}; };
const aj = arcjet({ const aj = arcjet({