change config location
This commit is contained in:
parent
d72b2aef9a
commit
f69d418ac6
|
@ -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"),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue