reset database fixed on client

This commit is contained in:
andrei-mihnea-cerbu
2025-02-14 13:09:41 +02:00
parent b2f1ea01d3
commit 26ae03dcea
@@ -1,6 +1,6 @@
document.addEventListener('DOMContentLoaded', async function () { document.addEventListener('DOMContentLoaded', async function () {
await new Promise(resolve => setTimeout(resolve, 7000));
await window.databaseAPI.resetInternalDatabase(); await window.databaseAPI.resetInternalDatabase();
await new Promise(resolve => setTimeout(resolve, 7000));
await window.workersAPI.stopWorkers(); await window.workersAPI.stopWorkers();
await window.uiAPI.changeContent('welcome'); await window.uiAPI.changeContent('welcome');
}); });