copy config

This commit is contained in:
Nicholas Orlowsky 2025-11-08 13:14:10 -05:00
parent a335f14b14
commit 58e2097016
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
3 changed files with 12 additions and 1 deletions

View file

@ -78,7 +78,7 @@ async fn main() -> ::anyhow::Result<()> {
let version: &str = option_env!("CARGO_PKG_VERSION").expect("Expected package version");
info!("Starting the SEPTASTIC Server v{} (commit: {})", version, "NONE");
let mut file = File::open("../data_loader/config.yaml")?;
let mut file = File::open("./config.yaml")?;
let mut file_contents = String::new();
file.read_to_string(&mut file_contents);