index.html 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  6. <meta name="description" content="A new Flutter project.">
  7. <!-- iOS meta tags & icons -->
  8. <meta name="apple-mobile-web-app-capable" content="yes">
  9. <meta name="apple-mobile-web-status-bar-style" content="black">
  10. <meta name="apple-mobile-web-app-title" content="flutter_tetris">
  11. <link rel="apple-touch-icon" href="/icons/Icon-192.png">
  12. <title>flutter_tetris</title>
  13. <link rel="manifest" href="/manifest.json">
  14. </head>
  15. <body>
  16. <!-- This script installs service_worker.js to provide PWA functionality to
  17. application. For more information, see:
  18. https://developers.google.com/web/fundamentals/primers/service-workers -->
  19. <script>
  20. if ('serviceWorker' in navigator) {
  21. window.addEventListener('load', function () {
  22. navigator.serviceWorker.register('/flutter_service_worker.js');
  23. });
  24. }
  25. </script>
  26. <script src="main.dart.js" type="application/javascript"></script>
  27. </body>
  28. </html>