1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 08:25:16 +00:00

Add Android application download links

This commit is contained in:
2021-02-20 09:44:34 +01:00
parent d6c2c19b37
commit 1ad4e344f6
3 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,8 @@ pub struct Config {
pub storage_url: String,
pub storage_path: String,
pub terms_url: String,
pub play_store_url: String,
pub android_direct_download_url: String,
pub proxy: Option<String>,
pub force_https: bool,
pub verbose_mode: bool,
@ -104,6 +106,9 @@ impl Config {
terms_url: Config::yaml_str(parsed, "terms-url"),
play_store_url: Config::yaml_str(parsed, "play-store-url"),
android_direct_download_url: Config::yaml_str(parsed, "android-direct-download-url"),
proxy: match proxy.as_ref() {
"none" => None,
s => Some(s.to_string())