Remove ServiceWorker

This commit is contained in:
Alex Gleason committed 2025-07-20 15:34:01 -05:00
1 parent ba4b8d040f
commit 27c541a6be
2 files changed
-98

No files matched your search

-12
View File
@@ -9,16 +9,4 @@ import './index.css';
// Using Inter Variable font for modern, clean typography
import '@fontsource-variable/inter';
// Register service worker for file serving
if ('serviceWorker' in navigator) {
window.addEventListener('load', async () => {
try {
const registration = await navigator.serviceWorker.register('/sw.js');
console.log('SW registered: ', registration);
} catch (registrationError) {
console.log('SW registration failed: ', registrationError);
}
});
}
createRoot(document.getElementById("root")!).render(<App />);