Better logging with plugin fix
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ use std::path::PathBuf;
|
||||
|
||||
use voxa_server::{ServerConfig, vfs};
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let root = PathBuf::new();
|
||||
fn main() -> voxa_server::Result<()> {
|
||||
let root = PathBuf::from("./");
|
||||
let config: ServerConfig = vfs::read_config(&root.join("config.json"))?;
|
||||
let mut server = config.build(&root);
|
||||
server.run()?;
|
||||
|
||||
Reference in New Issue
Block a user