fix: 404 svg not found
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
e2e
|
||||
pnpm-lock.yaml
|
||||
dist
|
||||
public
|
||||
+2
-1
@@ -33,7 +33,8 @@ export default async function middleware(req: NextRequest) {
|
||||
pathname.match(/^\/(workbox|worker|fallback)-\w+\.js(\.map)?$/) ||
|
||||
pathname === "/sw.js" ||
|
||||
pathname === "/sw.js.map" ||
|
||||
pathname === "/logo.png"
|
||||
pathname === "/logo.png" ||
|
||||
pathname === "/404.svg"
|
||||
) {
|
||||
return NextResponse.next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user