index.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 content="IE=Edge" http-equiv="X-UA-Compatible" />
  17. <meta name="description" content="A new Flutter project." />
  18. <!-- iOS meta tags & icons -->
  19. <meta name="apple-mobile-web-app-capable" content="yes" />
  20. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  21. <meta name="apple-mobile-web-app-title" content="project" />
  22. <link rel="apple-touch-icon" href="icons/Icon-192.png" />
  23. <!-- Favicon -->
  24. <link rel="icon" type="image/png" href="favicon.png" />
  25. <title>project</title>
  26. <link rel="manifest" href="manifest.json" />
  27. <script src="trtc/TrtcWrapper.2.0.0-dev.0.0.2.bundle.js"></script>
  28. <script src="trtc/BeautyManagerWrapper.2.0.0-dev.0.0.2.bundle.js"></script>
  29. <script>
  30. // The value below is injected by flutter build, do not touch.
  31. var serviceWorkerVersion = null;
  32. </script>
  33. <!-- This script adds the flutter initialization JS code -->
  34. <script src="flutter.js" defer></script>
  35. </head>
  36. <body>
  37. <script>
  38. window.addEventListener("load", function (ev) {
  39. // Download main.dart.js
  40. _flutter.loader
  41. .loadEntrypoint({
  42. serviceWorker: {
  43. serviceWorkerVersion: serviceWorkerVersion,
  44. },
  45. })
  46. .then(function (engineInitializer) {
  47. return engineInitializer.initializeEngine();
  48. })
  49. .then(function (appRunner) {
  50. return appRunner.runApp();
  51. });
  52. });
  53. </script>
  54. </body>
  55. </html>