-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
29 lines (29 loc) · 1.16 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Placar Vôlei</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<script>
const options = window.location.hostname.includes('localhost') || window.location.hostname.includes('ngrok-free.app')
? undefined : { scope: '/peladaManager/' };
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', options)
.then(function(registration) {
console.log('Service Worker Registered');
})
.catch(function(err) {
console.log('Service Worker Failed to Register', err);
});
}
</script>
</html>