From 8dd5ef113b3a7b754b15e67d6848f27318ce8347 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 21 Feb 2022 12:17:21 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9pare=20le=20pr=C3=A9rendu=20lorsque=20le?= =?UTF-8?q?s=20variables=20d'environnement=20sont=20manquante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/scripts/fetch-stats.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/scripts/fetch-stats.js b/site/scripts/fetch-stats.js index fbf7cfab0..7e70b802e 100644 --- a/site/scripts/fetch-stats.js +++ b/site/scripts/fetch-stats.js @@ -278,7 +278,9 @@ async function main() { // have a static ressource accessible without authentification. writeInDataDir('stats.json', { visitesJours: [], - visitesMois: [], + visitesMois: { + pages: [] + }, satisfaction: [], retoursUtilisateurs: { open: [],