khatru/blossom: implement BUD-05 without optimizations

This commit is contained in:
sudocarlos
2025-05-09 15:20:19 -03:00
committed by fiatjaf
parent ce382bbc47
commit 9118217048
2 changed files with 13 additions and 0 deletions
+4
View File
@@ -44,6 +44,10 @@ func New(rl *khatru.Relay, serviceURL string) *BlossomServer {
}
}
if r.URL.Path == "/media" {
bs.handleMedia(w, r)
return
}
if r.URL.Path == "/mirror" && r.Method == "PUT" {
bs.handleMirror(w, r)
return