chore: update various components and services for improved functionality and consistency, including formatting adjustments and minor refactors

This commit is contained in:
Julien Froidefond
2025-12-07 09:54:05 +01:00
parent 4f5724c0ff
commit 39e3328123
141 changed files with 5292 additions and 3243 deletions

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
@@ -8,7 +8,10 @@
body {
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, sans-serif;
font-family:
system-ui,
-apple-system,
sans-serif;
background-color: #0f172a;
color: #e2e8f0;
min-height: 100vh;

View File

@@ -172,9 +172,7 @@ self.addEventListener("activate", (event) => {
const cacheNames = await caches.keys();
const cachesToDelete = cacheNames.filter(
(name) =>
name.startsWith("stripstream-") &&
name !== BOOKS_CACHE &&
!name.endsWith(`-${VERSION}`)
name.startsWith("stripstream-") && name !== BOOKS_CACHE && !name.endsWith(`-${VERSION}`)
);
await Promise.all(cachesToDelete.map((name) => caches.delete(name)));