14
14
This is a placeholder for base href that will be replaced by the value of
15
15
the `--base-href` argument provided to `flutter build`.
16
16
-->
17
- < base href ="/ ">
17
+ < base href ="/pythonnotjava.github.io/extend/flutter/gatsp/ ">
18
18
19
19
< meta charset ="UTF-8 ">
20
20
< meta content ="IE=Edge " http-equiv ="X-UA-Compatible ">
23
23
<!-- iOS meta tags & icons -->
24
24
< meta name ="apple-mobile-web-app-capable " content ="yes ">
25
25
< meta name ="apple-mobile-web-app-status-bar-style " content ="black ">
26
- < meta name ="apple-mobile-web-app-title " content ="gatsp ">
26
+ < meta name ="apple-mobile-web-app-title " content ="example ">
27
27
< link rel ="apple-touch-icon " href ="icons/Icon-192.png ">
28
28
29
29
<!-- Favicon -->
30
30
< link rel ="icon " type ="image/png " href ="favicon.png "/>
31
31
32
- < title > gatsp </ title >
32
+ < title > example </ title >
33
33
< link rel ="manifest " href ="manifest.json ">
34
+
35
+ < script >
36
+ // The value below is injected by flutter build, do not touch.
37
+ var serviceWorkerVersion = '2624461729' ;
38
+ </ script >
39
+ <!-- This script adds the flutter initialization JS code -->
40
+ < script src ="flutter.js " defer > </ script >
34
41
</ head >
35
42
< body >
36
- < script src ="flutter_bootstrap.js " async > </ script >
43
+ < script >
44
+ window . addEventListener ( 'load' , function ( ev ) {
45
+ // Download main.dart.js
46
+ _flutter . loader . loadEntrypoint ( {
47
+ serviceWorker : {
48
+ serviceWorkerVersion : serviceWorkerVersion ,
49
+ }
50
+ } ) . then ( function ( engineInitializer ) {
51
+ return engineInitializer . initializeEngine ( ) ;
52
+ } ) . then ( function ( appRunner ) {
53
+ return appRunner . runApp ( ) ;
54
+ } ) ;
55
+ } ) ;
56
+ </ script >
37
57
</ body >
38
- </ html >
58
+ </ html >
0 commit comments