forked from tangled.org/core
this repo has no description

knotserver: improve push reject message

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