From d6ec5bd432bccbd426362dbad4d1ec44c903d863 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Tue, 20 May 2025 11:11:18 +0000 Subject: [PATCH] knotserver: improve push reject message --- knotserver/git.go | 2 +- 1 file(s) changed, 1 insertion(s)(+), 1 deletion(s)(-) diff --git a/knotserver/git.go b/knotserver/git.go --- a/knotserver/git.go +++ b/knotserver/git.go @@ -113,7 +113,7 @@ // prefixed with "remote: ". 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. -- tangled.sh