fix: 404 svg not found
This commit is contained in:
parent
1e28fb9e12
commit
393e5c8d02
|
|
@ -2,3 +2,4 @@
|
|||
e2e
|
||||
pnpm-lock.yaml
|
||||
dist
|
||||
public
|
||||
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue