Skip to content

Commit 8f7bcae

Browse files
committed
Dashboard: Fix sitemap.xml and other files on public folder not loading (#6647)
1 parent ad7f78c commit 8f7bcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const config = {
2020
* - assets/
2121
* - sitemap.xml, sitemap-0.xml, robots.txt, favicon.ico, some favicon images
2222
*/
23-
"/((?!api|_next/static|_next/image|favicon.ico|assets|robots.txt|\\.xml|\\.png).*)",
23+
"/((?!api|_next/static|_next/image|favicon.ico|assets|robots.txt|sitemap.xml|sitemap-0.xml|favicon-16x16.png|favicon-32x32.png|apple-touch-icon.png|android-chrome-192x192.png|android-chrome-512x512.png).*)",
2424
],
2525
};
2626

0 commit comments

Comments
 (0)