save_directory = "/home/rustcargo/Rustup/Game/server"
template_dir = "/home/ian/Rustup/Game/server/templates"
+bundled_sources = "/home/rustcargo/Rustup/Game/server/target/bundled-sources"
[log]
global_level = 'debug'
flexi_logger::Logger::with(c.log.clone()).start()?;
+ let bundled_sources = &c.bundled_sources;
+ fs::metadata(format!("{}/index.html", bundled_sources))
+ .with_context(||bundled_sources.clone())
+ .context("check bundled-sources directory's index.html")?;
+
load_games()?;
let cl = CommandListener::new()?;