fix: page error when for url with a dot
This commit is contained in:
parent
9cfa24c167
commit
17a98922ed
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue