From d6ec5bd432bccbd426362dbad4d1ec44c903d863 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Tue, 20 May 2025 14:11:18 +0300 Subject: [PATCH] knotserver: improve push reject message --- knotserver/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotserver/git.go b/knotserver/git.go index 45444f81..1a5d430d 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 only supported over SSH.") // If the appview gave us the repository owner's handle we can attempt to // construct the correct ssh url. -- 2.51.2