From 018ba170e2b8938f6670a4f43eaec0293ee03d7b Mon Sep 17 00:00:00 2001 From: eltrac Date: Mon, 16 Mar 2026 20:37:30 +0800 Subject: style: comments --- src/weepinbell/handler.clj | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/weepinbell/handler.clj b/src/weepinbell/handler.clj index 33f8d74..44c9931 100644 --- a/src/weepinbell/handler.clj +++ b/src/weepinbell/handler.clj @@ -13,12 +13,16 @@ (process-webmention wmc) (defroutes api-routes + ;; receiver endpoint (POST (get-config :endpoint) [source target] (receive {:s source :t target} wmc)) + ;; query webmentions (GET "/api/mentions" [filter] (retrieve filter)) (GET "/api/mention/:id" [id] (retrieve-by-id id)) (GET "/api/mention" [source target] (retrieve-by-url source target)) + ;; host proxied avatars (microformats photos) (route/files "/avatars/" {:root "data/avatars"}) + ;; 404 (route/not-found "Not Found")) (def app -- cgit v1.2.3