fix: pretty solid chance that this was due to using teh wrong base url
This commit is contained in:
parent
1f3c33458e
commit
ad94b197ae
2 changed files with 2 additions and 3 deletions
|
@ -93,13 +93,12 @@ pub fn get_config() -> Config {
|
|||
config.mail_pass = x.trim().to_string();
|
||||
}
|
||||
|
||||
if let Ok(x) = env::var("WOLVES_URL") {
|
||||
if let Ok(x) = env::var("WOLVES_URL_BASE") {
|
||||
config.wolves_url = x.trim().to_string();
|
||||
}
|
||||
if let Ok(x) = env::var("WOLVES_API") {
|
||||
config.wolves_api = x.trim().to_string();
|
||||
}
|
||||
dbg!(&config);
|
||||
|
||||
config
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue