all repos — honk @ 4a0fd4acd7c282f80ef1e50eb6312ad1f5d81595

my fork of honk

only allow create for now
Ted Unangst tedu@tedunangst.com
Sun, 10 Mar 2024 00:34:02 -0500
commit

4a0fd4acd7c282f80ef1e50eb6312ad1f5d81595

parent

ad914bc3e057a0d2ac68c5c831e3e8939fd3cbce

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M web.goweb.go

@@ -820,15 +820,15 @@ return

} what := firstofmany(j, "type") switch what { - default: - dlog.Printf("saving my own xonk") + case "Create": honk := xonksaver2(user, j, serverName, true) if honk == nil { dlog.Printf("returned nil") return } - dlog.Printf("honking it") go honkworldwide(user, honk) + default: + http.Error(w, "not sure about that", http.StatusBadRequest) } }