-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (32 loc) · 1.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, viewport-fit=cover" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="description" content="Shows traffic info for Stockholm - Uppsala and vice versa" />
<meta name="theme-color" content="#ffffff" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Sthlm-Uppsala" />
<title>Stockholm - Uppsala</title>
</head>
<body>
<div id="app"></div>
<noscript>
<div>You must have JavaScript enabled to view this page</div>
</noscript>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker.register("/service-worker.js").then((reg) => {
console.log("Service worker registered.", reg);
});
});
}
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>