From e7c49d685efe768c0c1d9c66da7b93b6e118b305 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Sat, 6 Dec 2025 20:20:16 +0300 Subject: Fixed logical errors, tryed to fix tests --- src/cfg/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cfg/config.rs') diff --git a/src/cfg/config.rs b/src/cfg/config.rs index f14ec93..ce9df87 100644 --- a/src/cfg/config.rs +++ b/src/cfg/config.rs @@ -39,6 +39,8 @@ pub struct Repo { pub destination: (String, String), #[serde(rename = "repo_http_url")] pub repo_http_url: Option, + #[serde(rename = "i2p_http_proxy_port")] + pub i2p_http_proxy_port: u16, // #[serde(rename = "arch")] // pub arch = arch; } @@ -92,6 +94,7 @@ impl Config { std::env::consts::ARCH ) .into(), + i2p_http_proxy_port: 4444, // Its a hurt place, you need to generate destinations by i2pd and paste here (to mesk.toml) // Better to leave it empty or set it to (mesk, mesk), now destination conn not implemented }, @@ -126,6 +129,7 @@ impl Config { auto_update: true, destination: (String::from("mesk"), String::from("mesk")), repo_http_url: None, + i2p_http_proxy_port: 4444, }, log: Log { log_file: String::from("/var/log/mesk.log"), -- cgit v1.2.3