index.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5. If you are serving your web app in a path other than the root, change the
  6. href value below to reflect the base path you are serving from.
  7. The path provided below has to start and end with a slash "/" in order for
  8. it to work correctly.
  9. For more details:
  10. * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
  11. This is a placeholder for base href that will be replaced by the value of
  12. the `--base-href` argument provided to `flutter build`.
  13. -->
  14. <base href="$FLUTTER_BASE_HREF" />
  15. <meta charset="UTF-8" />
  16. <meta
  17. content="IE=Edge"
  18. http-equiv="X-UA-Compatible" />
  19. <meta
  20. name="description"
  21. content="A new Flutter project." />
  22. <!-- iOS meta tags & icons -->
  23. <meta
  24. name="apple-mobile-web-app-capable"
  25. content="yes" />
  26. <meta
  27. name="apple-mobile-web-app-status-bar-style"
  28. content="black" />
  29. <meta
  30. name="apple-mobile-web-app-title"
  31. content="vitalapp" />
  32. <link
  33. rel="apple-touch-icon"
  34. href="icons/Icon-192.png" />
  35. <!-- Favicon -->
  36. <link
  37. rel="icon"
  38. type="image/png"
  39. href="favicon.png" />
  40. <title>vitalapp</title>
  41. <link
  42. rel="manifest"
  43. href="manifest.json" />
  44. <script>
  45. // The value below is injected by flutter build, do not touch.
  46. const serviceWorkerVersion = null;
  47. </script>
  48. <!-- This script adds the flutter initialization JS code -->
  49. <script
  50. src="flutter.js"
  51. defer></script>
  52. </head>
  53. <body>
  54. <script>
  55. window.addEventListener("load", function (ev) {
  56. // Download main.dart.js
  57. _flutter.loader.loadEntrypoint({
  58. serviceWorker: {
  59. serviceWorkerVersion: serviceWorkerVersion,
  60. },
  61. onEntrypointLoaded: function (engineInitializer) {
  62. engineInitializer.initializeEngine().then(function (appRunner) {
  63. appRunner.runApp();
  64. });
  65. },
  66. });
  67. });
  68. </script>
  69. </body>
  70. </html>