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

@@ -34,7 +34,7 @@ def load_env(env_path=None):
def load_config():
cfg_path = os.path.join(ROOT_DIR, "tools", "config.json")
cfg_path = os.path.join(ROOT_DIR, "tools", "config", "config.json")
try:
with open(cfg_path, "r", encoding="utf-8") as handle:
return json.load(handle)
@@ -87,7 +87,7 @@ def main():
goaccess_url = url or os.environ.get("GOACCESS_URL") or (cfg.get("goaccess") or {}).get("url")
if not goaccess_url:
print("Missing GoAccess URL (set GOACCESS_URL or goaccess.url in tools/config.json)", file=sys.stderr)
print("Missing GoAccess URL (set GOACCESS_URL or goaccess.url in tools/config/config.json)", file=sys.stderr)
sys.exit(1)
try: