fix: 404 locales
This commit is contained in:
parent
ef9b2d61d2
commit
c009c73887
|
|
@ -38,6 +38,7 @@ export default async function middleware(req: NextRequest) {
|
|||
pathname.startsWith("/dashboard") ||
|
||||
pathname.startsWith("/_next/") ||
|
||||
pathname.startsWith("/assets/") ||
|
||||
pathname.startsWith("/locales/") ||
|
||||
pathname.match(/^\/(workbox|worker|fallback)-\w+\.js(\.map)?$/) ||
|
||||
pathname === "/sw.js" ||
|
||||
pathname === "/sw.js.map"
|
||||
|
|
|
|||
Loading…
Reference in New Issue