From bde1a3c977b7d63e03fea13055757248f1f811cc Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Tue, 20 May 2025 12:06:46 +0100 Subject: [PATCH] knotserver: shorten error message for rejected pushes --- knotserver/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotserver/git.go b/knotserver/git.go index 45444f8..1bf7664 100644 --- a/knotserver/git.go +++ b/knotserver/git.go @@ -113,7 +113,7 @@ func (d *Handle) RejectPush(w http.ResponseWriter, r *http.Request, unqualifiedR 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 currently only supported over SSH.") // If the appview gave us the repository owner's handle we can attempt to // construct the correct ssh url. -- 2.43.0