diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-12-06 20:20:16 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-12-06 20:20:16 +0300 |
| commit | e7c49d685efe768c0c1d9c66da7b93b6e118b305 (patch) | |
| tree | e1bfb33a34c3fe4cb84436e73b48463f5deb8f08 /src/cfg/config.rs | |
| parent | c8520a5cf071eedc966e57abaf4ba2a334df83ee (diff) | |
Fixed logical errors, tryed to fix tests
Diffstat (limited to 'src/cfg/config.rs')
| -rw-r--r-- | src/cfg/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<String>, + #[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"), |
