deno server

This commit is contained in:
bobbydigitales
2024-10-09 08:30:28 -07:00
parent a3a9790eed
commit 26ed3bcf84
6 changed files with 167 additions and 2 deletions

View File

@@ -773,6 +773,9 @@ class App {
if (performance?.memory) {
log(`memory used: ${(performance.memory.usedJSHeapSize / 1024 / 1024).toFixed(2)}Mb`);
}
// if (navigator?.storage) {
// let storageUsed = (await navigator?.storage?.estimate())?.usage/1024/1024
// }
// if (urlParams.get("sw") === "true") {
registration = await this.registerServiceWorker();
// }