about summary refs log tree commit diff
path: root/src/webmentions
diff options
context:
space:
mode:
Diffstat (limited to 'src/webmentions')
-rw-r--r--src/webmentions/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/webmentions/mod.rs b/src/webmentions/mod.rs
index 95ea870..3e9b094 100644
--- a/src/webmentions/mod.rs
+++ b/src/webmentions/mod.rs
@@ -31,9 +31,7 @@ async fn accept_webmention<Q: JobQueue<Webmention>>(
     }
 
     match queue.put(&webmention).await {
-        Ok(id) => (StatusCode::ACCEPTED, [
-            ("Location", format!("/.kittybox/webmention/{id}"))
-        ]).into_response(),
+        Ok(id) => StatusCode::ACCEPTED.into_response(),
         Err(err) => (StatusCode::INTERNAL_SERVER_ERROR, [
             ("Content-Type", "text/plain")
         ], err.to_string()).into_response()