fix: path

This commit is contained in:
MasutaYunikon committed 2026-03-20 17:28:09 +01:00
1 parent 418d09b07f
commit 77d918fbe0
8 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@
import { randomUUID } from 'crypto'
import fs from 'fs'
import path from 'path'
import { BASE_DIR } from '../config.js'
import { DATA_DIR } from '../config.js'
// ─── Types ────────────────────────────────────────────────────────────────────
@@ -78,7 +78,7 @@ export function getAvailableClients(): TorrentClientDefinition[] {
// ─── Persistence (clients enregistrés) ────────────────────────────────────────
const CLIENTS_PATH = path.join(BASE_DIR, 'config', 'torrent_clients.json')
const CLIENTS_PATH = path.join(DATA_DIR, 'config', 'torrent_clients.json')
function loadClients(): SavedClient[] {
try {