diff --git a/.dockerignore b/.dockerignore index c9adf6b7..c51aee1a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ assets -target \ No newline at end of file +target +.env \ No newline at end of file diff --git a/src/util/variables.rs b/src/util/variables.rs index 803d08b1..9fc9f170 100644 --- a/src/util/variables.rs +++ b/src/util/variables.rs @@ -1,6 +1,8 @@ -use log::warn; use std::env; +#[cfg(debug_assertions)] +use log::warn; + lazy_static! { // General Configuration pub static ref MONGO_URI: String =