|
9 | 9 | <link href="/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" /> |
10 | 10 | <link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" /> |
11 | 11 | <link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" /> |
12 | | - <link href="/site.webmanifest" rel="manifest" /> |
13 | | - <link color="#1e43a3" href="/safari-pinned-tab.svg" rel="mask-icon" /> |
| 12 | + <link color="#1e43a3" href="/mask-icon.svg" rel="mask-icon" /> |
14 | 13 | <meta content="yes" name="apple-mobile-web-app-capable" /> |
15 | 14 | <meta content="yes" name="mobile-web-app-capable" /> |
16 | | - <link rel="preconnect" href="https://fonts.googleapis.com"> |
17 | | - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
| 15 | + <link rel="dns-prefetch" href="https://fonts.googleapis.com"> |
| 16 | + <link rel="dns-prefetch" href="https://fonts.gstatic.com"> |
| 17 | + <link rel="preconnect" crossorigin="anonymous" href="https://fonts.googleapis.com"> |
| 18 | + <link rel="preconnect" crossorigin="anonymous" href="https://fonts.gstatic.com"> |
18 | 19 | <link |
| 20 | + crossorigin="anonymous" |
19 | 21 | href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" |
20 | 22 | rel="stylesheet"> |
21 | 23 | <title>Atomic Data Browser</title> |
|
89 | 91 | .setProperty('--background-color', 'black'); |
90 | 92 | } |
91 | 93 | </script> |
92 | | - |
93 | | - <!-- Service worker --> |
94 | | - <script> |
95 | | - const registerServiceWorker = async () => { |
96 | | - if ('serviceWorker' in navigator) { |
97 | | - try { |
98 | | - await navigator.serviceWorker.register('/sw.js', { |
99 | | - scope: '/', |
100 | | - }); |
101 | | - } catch (error) { |
102 | | - console.error(`Registration failed with ${error}`); |
103 | | - } |
104 | | - } |
105 | | - }; |
106 | | - |
107 | | - registerServiceWorker(); |
108 | | - </script> |
109 | 94 | </body> |
110 | 95 |
|
111 | 96 | </html> |
0 commit comments