mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 17:12:22 +00:00
DAV Push: Configurable list of allowed push targets
This commit is contained in:
@@ -7,7 +7,8 @@ use rustical_frontend::FrontendConfig;
|
||||
use rustical_store::auth::{static_user_store::UserEntry, StaticUserStoreConfig, User};
|
||||
|
||||
use crate::config::{
|
||||
AuthConfig, Config, DataStoreConfig, HttpConfig, SqliteDataStoreConfig, TracingConfig,
|
||||
AuthConfig, Config, DataStoreConfig, DavPushConfig, HttpConfig, SqliteDataStoreConfig,
|
||||
TracingConfig,
|
||||
};
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
@@ -46,6 +47,7 @@ pub fn cmd_gen_config(_args: GenConfigArgs) -> anyhow::Result<()> {
|
||||
frontend: FrontendConfig {
|
||||
secret_key: generate_frontend_secret(),
|
||||
},
|
||||
dav_push: DavPushConfig::default(),
|
||||
};
|
||||
let generated_config = toml::to_string(&config)?;
|
||||
println!("{generated_config}");
|
||||
|
||||
Reference in New Issue
Block a user