Répare le prérendu lorsque les variables d'environnement sont manquante

pull/2023/head
Johan Girod 2022-02-21 12:17:21 +01:00
parent 73d4875586
commit 8dd5ef113b
1 changed files with 3 additions and 1 deletions

View File

@ -278,7 +278,9 @@ async function main() {
// have a static ressource accessible without authentification.
writeInDataDir('stats.json', {
visitesJours: [],
visitesMois: [],
visitesMois: {
pages: []
},
satisfaction: [],
retoursUtilisateurs: {
open: [],