diff options
Diffstat (limited to 'src/cfg')
| -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 cf6188e..88c98ff 100644 --- a/src/cfg/config.rs +++ b/src/cfg/config.rs @@ -37,6 +37,8 @@ pub struct Repo { pub auto_update: bool, #[serde(rename = "destination")] pub destination: (String, String), + #[serde(rename = "repo_http_url")] + pub repo_http_url: Option<String>, // #[serde(rename = "arch")] // pub arch = arch; } @@ -68,6 +70,7 @@ impl Config { repo_url: format!("https://mesk.anthrill.i2p/repo/{}/", std::env::consts::ARCH), auto_update: true, destination: (String::from("mesk"), String::from("mesk")), + repo_http_url: None, // 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 }, @@ -99,6 +102,7 @@ impl Config { }, auto_update: true, destination: (String::from("mesk"), String::from("mesk")), + repo_http_url: None, }, log: Log { log_file: String::from("/var/log/mesk.log"), |
