Removing debug lines
This commit is contained in:
parent
2d7c09a905
commit
160d140cf6
@ -113,8 +113,6 @@ func webfinger(w http.ResponseWriter, r *http.Request) {
|
||||
func inboxHandler() http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
fmt.Println("Start of Inbox")
|
||||
|
||||
body, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
@ -148,6 +146,8 @@ func inboxHandler() http.HandlerFunc {
|
||||
case "Reject":
|
||||
case "Add":
|
||||
case "Remove":
|
||||
case "Follow":
|
||||
case "Accept":
|
||||
case "Like":
|
||||
case "Announce":
|
||||
var announceobject AnnounceObject
|
||||
@ -166,12 +166,11 @@ func inboxHandler() http.HandlerFunc {
|
||||
case "Delete":
|
||||
case "Undo":
|
||||
default:
|
||||
fmt.Println("Unknown Others --> " + findtype.Type)
|
||||
logWarn("Unknown ActivityPub request:", findtype.Type)
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
fmt.Fprintf(w, "{}")
|
||||
fmt.Println("End of Inbox")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user