fix: 404 svg not found

This commit is contained in:
DIYgod
2023-01-23 12:31:45 +00:00
parent 1e28fb9e12
commit 393e5c8d02
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -2,3 +2,4 @@
e2e
pnpm-lock.yaml
dist
public
+2 -1
View File
@@ -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()
}