fix: pretty solid chance that this was due to using teh wrong base url
All checks were successful
On_Push / lint_fmt (push) Successful in 11s
On_Push / lint_clippy (push) Successful in 3m27s
On_Push / build (push) Successful in 8m8s
On_Push / deploy (push) Successful in 7s

This commit is contained in:
silver 2024-11-24 00:14:42 +00:00
parent 1f3c33458e
commit ad94b197ae
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 2 additions and 3 deletions

2
Cargo.lock generated
View file

@ -3917,7 +3917,7 @@ dependencies = [
[[package]] [[package]]
name = "wolves_oxidised" name = "wolves_oxidised"
version = "0.1.0" version = "0.1.0"
source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#0097761c6973b490ffd0ec5b5ca45d3ab9c7915a" source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#eee6a76c695a36f1fe220fdeafd5a43757e50527"
dependencies = [ dependencies = [
"reqwest 0.12.9", "reqwest 0.12.9",
"serde", "serde",

View file

@ -93,13 +93,12 @@ pub fn get_config() -> Config {
config.mail_pass = x.trim().to_string(); 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(); config.wolves_url = x.trim().to_string();
} }
if let Ok(x) = env::var("WOLVES_API") { if let Ok(x) = env::var("WOLVES_API") {
config.wolves_api = x.trim().to_string(); config.wolves_api = x.trim().to_string();
} }
dbg!(&config);
config config
} }