diff --git a/config/server.ts b/config/server.ts index 0e30c5d..05f8416 100644 --- a/config/server.ts +++ b/config/server.ts @@ -2,7 +2,8 @@ import cronTasks from "./cron-tasks"; export default ({ env }) => { // DEBUG: On vérifie ce que Strapi reçoit vraiment - const appKeys = env.array("APP_KEYS"); + //const appKeys = env.array("APP_KEYS"); + const appKeys = env.array("APP_KEYS", ["defaultKey1", "defaultKey2"]); console.log("------------------------------------------------"); console.log("Key Check:", appKeys.length > 0 ? "CHARGÉES ✅" : "VIDES ❌"); console.log("Key Type:", typeof appKeys[0]); // Doit afficher 'string'