diff --git a/crates/ptth_server/src/load_toml.rs b/crates/ptth_server/src/load_toml.rs index 174c1ea..bf4bad1 100644 --- a/crates/ptth_server/src/load_toml.rs +++ b/crates/ptth_server/src/load_toml.rs @@ -55,5 +55,6 @@ pub fn load < > ( config_file_path: P ) -> Result { - load_public (config_file_path) + let f = File::open (&config_file_path)?; + load_inner (f) }