File tree Expand file tree Collapse file tree 4 files changed +18
-13
lines changed Expand file tree Collapse file tree 4 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 8
8
The path provided below has to start and end with a slash "/" in order for
9
9
it to work correctly.
10
10
11
- Fore more details:
11
+ For more details:
12
12
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13
+
14
+ This is a placeholder for base href that will be replaced by the value of
15
+ the `--base-href` argument provided to `flutter build`.
13
16
-->
14
- < base href ="/ ">
17
+ < base href ="$FLUTTER_BASE_HREF ">
15
18
16
19
< meta charset ="UTF-8 ">
17
20
< meta content ="IE=Edge " http-equiv ="X-UA-Compatible ">
30
33
< link rel ="manifest " href ="manifest.json ">
31
34
</ head >
32
35
< body >
33
- <!-- This script installs service_worker.js to provide PWA functionality to
34
- application. For more information, see:
35
- https://developers.google.com/web/fundamentals/primers/service-workers -->
36
- < script >
37
- if ( 'serviceWorker' in navigator ) {
38
- window . addEventListener ( 'flutter-first-frame' , function ( ) {
39
- navigator . serviceWorker . register ( 'flutter_service_worker.js' ) ;
40
- } ) ;
41
- }
42
- </ script >
43
- < script src ="main.dart.js " type ="application/javascript "> </ script >
36
+ < script src ="flutter_bootstrap.js " async > </ script >
44
37
</ body >
45
38
</ html >
Original file line number Diff line number Diff line change 18
18
"src" : " icons/Icon-512.png" ,
19
19
"sizes" : " 512x512" ,
20
20
"type" : " image/png"
21
+ },
22
+ {
23
+ "src" : " icons/Icon-maskable-192.png" ,
24
+ "sizes" : " 192x192" ,
25
+ "type" : " image/png" ,
26
+ "purpose" : " maskable"
27
+ },
28
+ {
29
+ "src" : " icons/Icon-maskable-512.png" ,
30
+ "sizes" : " 512x512" ,
31
+ "type" : " image/png" ,
32
+ "purpose" : " maskable"
21
33
}
22
34
]
23
35
}
You can’t perform that action at this time.
0 commit comments