fix: resolve EACCES permission issue and hydration error #418

This commit is contained in:
Michael committed 2026-02-21 12:54:39 +01:00
1 parent 0026e3134d
commit 4f4a0dbd62
4 files changed
+45 -13

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ let connectionString = process.env.DATABASE_URL;
// On tente de lire la config sauvegardée via l'UI
try {
const CONFIG_PATH = path.join(process.cwd(), ".db-config.json");
const CONFIG_PATH = path.join(process.cwd(), "data", ".db-config.json");
if (fs.existsSync(CONFIG_PATH)) {
const config = JSON.parse(fs.readFileSync(CONFIG_PATH, "utf-8"));
if (config.url) {