Give the server, React entry, shared hooks and scripts headers that explain their role and pitfalls

Document how server.mjs keeps the site up when an API is misconfigured and
reports it on /api/health, the cache and CSP policy, the share API's
synchronous reservation, the trust placed in X-Forwarded-For, the hooks main.jsx
wires once, and how to run each script. The deploy script header now recalls
that CI runs the copy installed on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-01 11:00:04 +01:00
parent fe21c2d899
commit d8c94f6834
24 changed files with 167 additions and 37 deletions

View file

@ -1,5 +1,10 @@
/**
* @file Mesure le démarrage du build de production avec des toolboxes synthétiques dans un navigateur isolé.
* @file Mesure le démarrage du build de production avec des toolboxes synthétiques, dans des profils Chromium
* temporaires, sans toucher aux toolboxes personnelles.
*
* Usage : npm run profile:toolboxes (construit puis mesure ; port 4173 libre, à lancer seul). Résultat dans
* .local/performance/toolbox-loading.json.
* @see README.md
*/
/* global window, document, indexedDB, IDBObjectStore, MutationObserver, requestAnimationFrame */