fix: loop rewrite

This commit is contained in:
DIYgod
2023-08-23 12:09:28 +01:00
parent 9d156cc520
commit 71cbcafa54
+1
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" ||