1

Déplacement de la configuration des outils

This commit is contained in:
2025-11-28 16:27:33 +01:00
parent 3477ed04be
commit 5e846aa4b4
9 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ async function run({ stat }) {
const toolsConfig = await loadToolsConfig();
const url = stat.url || toolsConfig.goaccess?.url;
if (!url) {
throw new Error("URL GoAccess manquante (GOACCESS_URL ou goaccess.url dans tools/config.json)");
throw new Error("URL GoAccess manquante (GOACCESS_URL ou goaccess.url dans tools/config/config.json)");
}
const metric = stat.metric || "hits";
const windowDays = Number.isFinite(stat.days) ? stat.days : 30;