|
1 |
| -<!DOCTYPE html> |
| 1 | +<!doctype html> |
2 | 2 | <html>
|
3 |
| -<head> |
4 |
| - <!-- |
| 3 | + <head> |
| 4 | + <!-- |
5 | 5 | If you are serving your web app in a path other than the root, change the
|
6 | 6 | href value below to reflect the base path you are serving from.
|
7 |
| - |
| 7 | +
|
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 | 11 | For more details:
|
12 | 12 | * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
13 |
| - |
| 13 | +
|
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="$FLUTTER_BASE_HREF"> |
| 17 | + <base href="$FLUTTER_BASE_HREF" /> |
| 18 | + |
| 19 | + <meta charset="UTF-8" /> |
| 20 | + <meta content="IE=Edge" http-equiv="X-UA-Compatible" /> |
| 21 | + |
| 22 | + <!-- iOS meta tags & icons --> |
| 23 | + <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 24 | + <meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
| 25 | + <meta name="apple-mobile-web-app-title" content="flutter_uis" /> |
| 26 | + <link rel="apple-touch-icon" href="icons/Icon-192.png" /> |
18 | 27 |
|
19 |
| - <meta charset="UTF-8"> |
20 |
| - <meta content="IE=Edge" http-equiv="X-UA-Compatible"> |
21 |
| - <meta name="description" content="A new Flutter project."> |
22 |
| - |
23 |
| - <!-- iOS meta tags & icons --> |
24 |
| - <meta name="apple-mobile-web-app-capable" content="yes"> |
25 |
| - <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
26 |
| - <meta name="apple-mobile-web-app-title" content="flutter_uis"> |
27 |
| - <link rel="apple-touch-icon" href="icons/Icon-192.png"> |
28 |
| - |
29 |
| - <!-- Favicon --> |
30 |
| - <link rel="icon" type="image/png" href="favicon.png" /> |
31 |
| - |
32 |
| - <title>flutter_uis</title> |
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 = null; |
38 |
| - </script> |
39 |
| - <!-- This script adds the flutter initialization JS code --> |
40 |
| - <script src="flutter.js" defer></script> |
41 |
| -</head> |
42 |
| -<body> |
43 |
| - <script> |
| 28 | + <!-- Favicon --> |
| 29 | + <link rel="icon" type="image/png" href="favicon.png" /> |
44 | 30 |
|
45 |
| - window.addEventListener('load', function (ev) { |
46 |
| - // Download main.dart.js |
47 |
| - _flutter.loader.loadEntrypoint({ |
48 |
| - serviceWorker: { |
49 |
| - serviceWorkerVersion: serviceWorkerVersion, |
50 |
| - } |
51 |
| - }).then(function (engineInitializer) { |
52 |
| - return engineInitializer.initializeEngine(); |
53 |
| - }).then(function (appRunner) { |
54 |
| - return appRunner.runApp(); |
55 |
| - }); |
56 |
| - }); |
57 |
| - </script> |
58 |
| -</body> |
| 31 | + <title>flutter_uis</title> |
| 32 | + <meta name="description" content="A new Flutter project." /> |
| 33 | + <link rel="manifest" href="manifest.json" /> |
| 34 | + </head> |
| 35 | + <body> |
| 36 | + <script src="flutter_bootstrap.js" async></script> |
| 37 | + </body> |
59 | 38 | </html>
|
0 commit comments