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:
parent
fe21c2d899
commit
d8c94f6834
24 changed files with 167 additions and 37 deletions
|
|
@ -1,5 +1,9 @@
|
|||
/**
|
||||
* @file Charge le fichier .env facultatif avec le parseur natif de Node.
|
||||
* @file Charge le fichier .env facultatif de la racine avec le parseur natif de Node ; une variable déjà définie
|
||||
* dans le processus garde sa valeur, même vide.
|
||||
*
|
||||
* Utilisé par : server.mjs, vite.config.js.
|
||||
* @see .env.example
|
||||
*/
|
||||
|
||||
import { loadEnvFile } from "node:process";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue