feat: remove the last traces of the csv

This commit is contained in:
silver 2023-10-27 01:48:37 +01:00
parent b729c050f9
commit c1f5be0a62
4 changed files with 0 additions and 31 deletions

View file

@ -180,7 +180,6 @@ pub struct Config {
pub ldap_admin_pw: String,
pub home: String,
pub database: String,
pub csv: String,
pub host_port: String,
pub mail_smtp: String,
pub mail_user: String,
@ -202,7 +201,6 @@ pub fn get_config() -> Config {
ldap_admin_pw: "".to_string(),
home: ".".to_string(),
database: "database.db".to_string(),
csv: "wolves.csv".to_string(),
host_port: "127.0.0.1:8087".to_string(),
mail_smtp: "".to_string(),
mail_user: "".to_string(),
@ -229,9 +227,6 @@ pub fn get_config() -> Config {
if let Ok(x) = env::var("DATABASE") {
config.database = x.trim().to_string();
}
if let Ok(x) = env::var("CSV") {
config.csv = x.trim().to_string();
}
if let Ok(x) = env::var("HOST_PORT") {
config.host_port = x.trim().to_string();
}