DawnC commited on
Commit
026220a
1 Parent(s): 55b257d

Update manifest.json

Browse files
Files changed (1) hide show
  1. manifest.json +13 -5
manifest.json CHANGED
@@ -1,24 +1,32 @@
1
  {
2
  "name": "PawMatch AI",
3
  "short_name": "PawMatch",
4
- "start_url": "./",
5
- "scope": "./",
6
  "display": "standalone",
7
  "background_color": "#ffffff",
8
  "theme_color": "#4299e1",
9
  "description": "Your Smart Dog Breed Guide",
10
  "icons": [
11
  {
12
- "src": "./icon-192.png", // 移除 assets/
13
  "sizes": "192x192",
14
  "type": "image/png",
15
  "purpose": "any maskable"
16
  },
17
  {
18
- "src": "./icon-512.png", // 移除 assets/
19
  "sizes": "512x512",
20
  "type": "image/png",
21
  "purpose": "any maskable"
22
  }
23
- ]
 
 
 
 
 
 
 
 
24
  }
 
1
  {
2
  "name": "PawMatch AI",
3
  "short_name": "PawMatch",
4
+ "start_url": "/",
5
+ "scope": "/",
6
  "display": "standalone",
7
  "background_color": "#ffffff",
8
  "theme_color": "#4299e1",
9
  "description": "Your Smart Dog Breed Guide",
10
  "icons": [
11
  {
12
+ "src": "/icon-192.png",
13
  "sizes": "192x192",
14
  "type": "image/png",
15
  "purpose": "any maskable"
16
  },
17
  {
18
+ "src": "/icon-512.png",
19
  "sizes": "512x512",
20
  "type": "image/png",
21
  "purpose": "any maskable"
22
  }
23
+ ],
24
+ "shortcuts": [
25
+ {
26
+ "name": "Breed Detection",
27
+ "url": "/#breed-detection",
28
+ "icons": [{ "src": "/icon-192.png", "sizes": "192x192" }]
29
+ }
30
+ ],
31
+ "orientation": "portrait"
32
  }