diff --git a/src/server/dispatcher.rs b/src/server/dispatcher.rs index 1cc8564e..be80f167 100644 --- a/src/server/dispatcher.rs +++ b/src/server/dispatcher.rs @@ -92,7 +92,7 @@ async fn worker(db: DatabaseConnection, domain: String, poll_interval: u64, mut }, }; - let key = if delivery.actor.ends_with(&domain) { + let key = if delivery.actor == format!("https://{domain}/") { let Some(model::application::Model { private_key: key, .. }) = model::application::Entity::find() .one(&db).await? else {