fix: page error when for url with a dot
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ const HTTPWhitelistPaths = ["/api/healthcheck"]
|
||||
|
||||
export const config = {
|
||||
// Skip all paths that should not be internationalized. This example skips the
|
||||
// folders "api", "_next" and all files with an extension (e.g. favicon.ico)
|
||||
matcher: ["/((?!api|_next|_vercel|.*\\..*).*)"],
|
||||
// folders "api", "_next", "_vercel"
|
||||
matcher: ["/((?!api|_next|_vercel).*)"],
|
||||
}
|
||||
|
||||
export async function middleware(req: NextRequest) {
|
||||
|
||||
Reference in New Issue
Block a user