fix(sqlite,browser): resolve SQLite connection pool deadlock, disable stale SW cache, and update BRAIN.md
MindSift CI & Docker Release / Build, Test in Container & Push (push) Failing after 38s

This commit is contained in:
sandrodach committed 2026-10-24 21:27:51 +02:00
1 parent d6bc2976d9
commit 5c4e130862
8 files changed
+414 -231

No files matched your search

+6 -3
View File
@@ -15,10 +15,13 @@
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
if ('caches' in window) {
caches.keys().then((keys) => keys.forEach((k) => caches.delete(k))).catch(() => {});
}
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js').catch(() => {});
});
navigator.serviceWorker.getRegistrations().then((regs) => {
regs.forEach((r) => r.unregister());
}).catch(() => {});
}
</script>
</body>