Monorepo for Tangled tangled.org

knotserver: shorten error message for rejected pushes

Changed files
+1 -1
knotserver
+1 -1
knotserver/git.go
··· 113 113 w.Header().Set("content-type", "text/plain; charset=UTF-8") 114 114 w.WriteHeader(http.StatusForbidden) 115 115 116 - fmt.Fprintf(w, "Welcome to Tangled.sh!\n\nPushes are currently only supported over SSH.") 116 + fmt.Fprintf(w, "Pushes are currently only supported over SSH.") 117 117 118 118 // If the appview gave us the repository owner's handle we can attempt to 119 119 // construct the correct ssh url.