mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
DAV Push: Configurable list of allowed push targets
This commit is contained in:
@@ -82,7 +82,13 @@ async fn main() -> Result<()> {
|
||||
let (addr_store, cal_store, subscription_store, update_recv) =
|
||||
get_data_stores(!args.no_migrations, &config.data_store).await?;
|
||||
|
||||
tokio::spawn(push_notifier(update_recv, subscription_store.clone()));
|
||||
if config.dav_push.enable {
|
||||
tokio::spawn(push_notifier(
|
||||
config.dav_push.allowed_push_servers,
|
||||
update_recv,
|
||||
subscription_store.clone(),
|
||||
));
|
||||
}
|
||||
|
||||
let user_store = Arc::new(match config.auth {
|
||||
config::AuthConfig::Static(config) => StaticUserStore::new(config),
|
||||
|
||||
Reference in New Issue
Block a user