feat: dukung SETTINGS_PATH (settings.json di direktori mount/persisten)

This commit is contained in:
oxpoe committed 2026-10-13 03:29:36 +07:00
1 parent f27c02309e
commit 6f97430e41
6 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ let settingsCacheTime = 0;
const CACHE_DURATION = 2000; // 2 detik
// File system watcher untuk auto-reload settings
const settingsPath = path.join(__dirname, '../settings.json');
const { settingsPath } = require('./paths');
let watcher = null;
// Helper untuk baca settings.json secara dinamis