1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-07-03 22:45:01 +00:00

Start to update main function

This commit is contained in:
2021-05-04 19:18:47 +02:00
parent d07100a2c4
commit 37a7efb5b3
5 changed files with 81 additions and 7 deletions

View File

@ -43,6 +43,7 @@ pub struct Config {
pub terms_url: String,
pub privacy_policy_url: String,
pub contact_email: String,
pub password_reset_url: String,
pub play_store_url: String,
pub android_direct_download_url: String,
pub proxy: Option<String>,
@ -133,6 +134,7 @@ impl Config {
privacy_policy_url: Config::yaml_str(parsed, "privacy-policy-url"),
contact_email: Config::yaml_str(parsed, "contact-email"),
password_reset_url: Config::yaml_str(parsed, "password-reset-url"),
play_store_url: Config::yaml_str(parsed, "play-store-url"),
android_direct_download_url: Config::yaml_str(parsed, "android-direct-download-url"),