diff --git a/.gitignore b/.gitignore index 1ef7f5d..957d65c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,3 @@ /target .env* -*.json -*.txt -*.m4a -*.mp3 -*.mp4 -*.db -*.log* \ No newline at end of file +*.json \ No newline at end of file diff --git a/src/bot/util.rs b/src/bot/util.rs index 6861774..b747931 100644 --- a/src/bot/util.rs +++ b/src/bot/util.rs @@ -1,13 +1,13 @@ use std::path::Path; #[cfg(debug_assertions)] -pub const VAR_LIB: &str = "."; +pub const VAR_LIB: &str = "target/debug"; #[cfg(not(debug_assertions))] pub const VAR_LIB: &str = "/var/lib/mk-dl-bot"; #[cfg(debug_assertions)] -pub const VAR_LOG: &str = "."; +pub const VAR_LOG: &str = "target/debug"; #[cfg(not(debug_assertions))] pub const VAR_LOG: &str = "/var/log/mk-dl-bot";