index.html 817 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="/logo.png" type="image/*" />
  6. <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f4f4f5" />
  7. <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#27272a" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
  9. <link rel="manifest" href="/manifest.json" />
  10. <title>Memos</title>
  11. </head>
  12. <body>
  13. <div id="root"></div>
  14. <script type="module" src="/src/main.tsx"></script>
  15. <script>
  16. var global = global || window;
  17. window.addEventListener("load", () => {
  18. if ("serviceWorker" in navigator) {
  19. navigator.serviceWorker.register("/sw.js");
  20. }
  21. });
  22. </script>
  23. </body>
  24. </html>