Better structure and logger

This commit is contained in:
2025-08-30 02:41:39 +02:00
parent 6797007526
commit 19c102a7e8
7 changed files with 124 additions and 14 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ use voxa_server::{ServerConfig, vfs};
fn main() -> anyhow::Result<()> {
let root = PathBuf::new();
let config: ServerConfig = vfs::read_config(&root.join("config.json"))?;
config.start(&root)
let mut server = config.build(&root);
server.run()?;
Ok(())
}