From 34729a7edd19e18d09f59098e8fb5340464e47d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Sun, 15 Jun 2025 17:43:36 +0200 Subject: [PATCH] fix(api): update default database path to '/github-ntfy' --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index ca781d2..026afcf 100644 --- a/src/api.rs +++ b/src/api.rs @@ -16,7 +16,7 @@ struct RepoRequest { pub async fn start_api() -> Result<(), Box> { // Open the database - let db_path = env::var("DB_PATH").unwrap_or_else(|_| "./data".to_string()); + let db_path = env::var("DB_PATH").unwrap_or_else(|_| "/github-ntfy".to_string()); std::fs::create_dir_all(&db_path).ok(); let repos_path = format!("{}/watched_repos.db", db_path);