fix: loop rewrite

This commit is contained in:
DIYgod 2023-08-23 12:09:28 +01:00
parent 9d156cc520
commit 71cbcafa54
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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" ||