change config location

This commit is contained in:
missing 2022-09-08 13:14:43 -05:00
parent d72b2aef9a
commit f69d418ac6

View file

@ -133,7 +133,7 @@ pub struct Config {
#[tokio::main]
async fn main() -> Result<(), BoxDynError> {
let config = toml::from_str::<Config>(
&fs::read_to_string("registry.toml")
&fs::read_to_string("/etc/warehouse/warehouse.toml")
.await
.expect("Config file missing"),
)