mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Add privacy policy URL in static configuration
This commit is contained in:
@ -31,6 +31,7 @@ pub struct Config {
|
||||
pub storage_url: String,
|
||||
pub storage_path: String,
|
||||
pub terms_url: String,
|
||||
pub privacy_policy_url: String,
|
||||
pub play_store_url: String,
|
||||
pub android_direct_download_url: String,
|
||||
pub proxy: Option<String>,
|
||||
@ -105,6 +106,7 @@ impl Config {
|
||||
storage_path: Config::yaml_str(parsed, "storage-path"),
|
||||
|
||||
terms_url: Config::yaml_str(parsed, "terms-url"),
|
||||
privacy_policy_url: Config::yaml_str(parsed, "privacy-policy-url"),
|
||||
|
||||
play_store_url: Config::yaml_str(parsed, "play-store-url"),
|
||||
android_direct_download_url: Config::yaml_str(parsed, "android-direct-download-url"),
|
||||
|
Reference in New Issue
Block a user