Remove remaining frontend console logs for production
- Remove HTML loading and WASM initialization logs - Clean up service worker registration/activation logs - Remove alarm system initialization messages - Remove notification permission logging - Keep essential error logging for troubleshooting - Clean production console output 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -14,9 +14,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
console.log("HTML fully loaded, waiting for WASM...");
|
||||
window.addEventListener('TrunkApplicationStarted', () => {
|
||||
console.log("Trunk application started successfully!");
|
||||
// Application loaded successfully
|
||||
});
|
||||
|
||||
// Register service worker for alarm background processing
|
||||
@@ -24,7 +23,7 @@
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/service-worker.js')
|
||||
.then((registration) => {
|
||||
console.log('SW registered: ', registration);
|
||||
// Service worker registered successfully
|
||||
})
|
||||
.catch((registrationError) => {
|
||||
console.log('SW registration failed: ', registrationError);
|
||||
|
||||
Reference in New Issue
Block a user