this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Show full database path.

+4 -1
+4 -1
server/src/database.rs
··· 18 18 "sqlite" => { 19 19 let db_path = 20 20 std::env::var("LUMINA_SQLITE_FILE").unwrap_or("instance.sqlite".to_string()); 21 + let db_full_path = std::fs::canonicalize(&db_path) 22 + .map(|p| p.display().to_string()) 23 + .unwrap_or(db_path.clone()); 21 24 info_elog!( 22 25 ev_log, 23 26 "Using SQLite database at path: {}", 24 - db_path.clone().color_bright_cyan().style_bold() 27 + db_full_path.color_bright_cyan().style_bold() 25 28 ); 26 29 let manager = SqliteConnectionManager::file(db_path); 27 30 let pool = Pool::new(manager).map_err(LuminaError::SqlitePool)?;