Fix configs being fetched from the wrong location
This commit is contained in:
parent
048c6c04fb
commit
922573ff65
@ -138,7 +138,7 @@ async fn load_config<T>(name: &str) -> Result<Option<T>, String>
|
||||
where
|
||||
T: for<'a> Deserialize<'a>,
|
||||
{
|
||||
let response = Request::get(&format!("/{name}.json"))
|
||||
let response = Request::get(&format!("./{name}.json"))
|
||||
.send()
|
||||
.await
|
||||
.map_err(|e| format!("HTTP error: {e}"))?;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user