File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Sourcebot" ,
3+ "short_name" : " Sourcebot" ,
4+ "display" : " standalone" ,
5+ "start_url" : " /" ,
6+ "icons" : [
7+ {
8+ "src" : " /sb_logo_light_small.png" ,
9+ "sizes" : " 1000x1000" ,
10+ "type" : " image/png"
11+ }
12+ ]
13+ }
14+
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ export default function RootLayout({
2626 // @see : https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app
2727 suppressHydrationWarning
2828 >
29+ < head >
30+ < link rel = "manifest" href = "/manifest.json" />
31+ </ head >
2932 < body >
3033 < Toaster />
3134 < SessionProvider >
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ export async function middleware(request: NextRequest) {
2929export const config = {
3030 // https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
3131 matcher : [
32- '/((?!api|_next/static|ingest|_next/image|favicon.ico|sitemap.xml|robots.txt|sb_logo_light_large.png|arrow.png|placeholder_avatar.png).*)' ,
32+ '/((?!api|_next/static|ingest|_next/image|favicon.ico|sitemap.xml|robots.txt|manifest.json| sb_logo_light_large.png|sb_logo_light_small .png|arrow.png|placeholder_avatar.png).*)' ,
3333 ] ,
3434}
You can’t perform that action at this time.
0 commit comments