forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

knotserver: improve push reject message

authored by anirudh.fi and committed by Tangled d6ec5bd4 4d5576b1

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 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.