fix: loop rewrite
This commit is contained in:
parent
9d156cc520
commit
71cbcafa54
|
|
@ -59,6 +59,7 @@ export default async function middleware(req: NextRequest) {
|
|||
pathname.startsWith("/_next/") ||
|
||||
pathname.startsWith("/assets/") ||
|
||||
pathname.startsWith("/locales/") ||
|
||||
pathname.startsWith("/site/") ||
|
||||
pathname.match(/^\/(workbox|worker|fallback)-\w+\.js(\.map)?$/) ||
|
||||
pathname === "/sw.js" ||
|
||||
pathname === "/sw.js.map" ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue