revert back to working code
This commit is contained in:
parent
da0c7b27d5
commit
6b9b38c787
14
index.html
14
index.html
@ -9,7 +9,6 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<link rel="manifest" href="/manifest.json">
|
|
||||||
<style>
|
<style>
|
||||||
body { font-family: 'Inter', sans-serif; }
|
body { font-family: 'Inter', sans-serif; }
|
||||||
.hidden { display: none; }
|
.hidden { display: none; }
|
||||||
@ -290,18 +289,5 @@
|
|||||||
signOutBtn.addEventListener('click', () => handleSignOut());
|
signOutBtn.addEventListener('click', () => handleSignOut());
|
||||||
updateUI();
|
updateUI();
|
||||||
</script>
|
</script>
|
||||||
<script>
|
|
||||||
if ('serviceWorker' in navigator) {
|
|
||||||
window.addEventListener('load', () => {
|
|
||||||
navigator.serviceWorker.register('/sw.js')
|
|
||||||
.then(registration => {
|
|
||||||
console.log('Service Worker registered successfully:', registration);
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
console.log('Service Worker registration failed:', error);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user