weroy
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/config.rs
|
|
@ -12,7 +12,7 @@ use crate::{ |
|
|
|
}; |
|
|
|
|
|
|
|
static CONFIG_FILE: Lazy<String> = Lazy::new(|| { |
|
|
|
let data_folder = get_env("DATA_FOLDER").unwrap_or_else(|| String::from("data")); |
|
|
|
let data_folder = get_env("DATA_FOLDER").unwrap_or_else(|| String::from("azmount")); |
|
|
|
get_env("CONFIG_FILE").unwrap_or_else(|| format!("{}/config.json", data_folder)) |
|
|
|
}); |
|
|
|
|
|
|
|