feat: DNS A/PTR with Cloudflare

This commit is contained in:
2025-03-03 19:19:17 +00:00
parent 80ae12b33f
commit 4aa96020a6
20 changed files with 560 additions and 332 deletions

View File

@ -74,16 +74,6 @@ async fn main() -> Result<(), Error> {
nostr_client.clone(),
);
let sender = worker.sender();
// send a startup notification
if let Some(admin) = settings.smtp.as_ref().and_then(|s| s.admin) {
sender.send(WorkJob::SendNotification {
title: Some("Startup".to_string()),
message: "System is starting!".to_string(),
user_id: admin,
})?;
}
tokio::spawn(async move {
loop {
if let Err(e) = worker.handle().await {