File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed 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({
26
26
// @see : https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app
27
27
suppressHydrationWarning
28
28
>
29
+ < head >
30
+ < link rel = "manifest" href = "/manifest.json" />
31
+ </ head >
29
32
< body >
30
33
< Toaster />
31
34
< SessionProvider >
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ export async function middleware(request: NextRequest) {
29
29
export const config = {
30
30
// https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
31
31
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).*)' ,
33
33
] ,
34
34
}
You can’t perform that action at this time.
0 commit comments