rebrand: frp -> kanhole (kanhole server, kanholec client)
golangci-lint / lint (push) Failing after 1m5s

This commit is contained in:
kannn
2026-05-29 09:05:34 +00:00
Unverified
parent a0a42a4966
commit 2cd3052da1
265 changed files with 949 additions and 962 deletions
+4 -4
View File
@@ -20,8 +20,8 @@ import (
"net/http"
"os"
"github.com/fatedier/frp/pkg/util/log"
"github.com/fatedier/frp/pkg/util/version"
"kanhole/pkg/util/log"
"kanhole/pkg/util/version"
)
var NotFoundPagePath = ""
@@ -43,7 +43,7 @@ const (
<h1>The page you requested was not found.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>The server is powered by <a href="https://github.com/fatedier/frp">frp</a>.</p>
<p>The server is powered by <a href="https://kanhole">frp</a>.</p>
<p><em>Faithfully yours, frp.</em></p>
</body>
</html>
@@ -69,7 +69,7 @@ func getNotFoundPageContent() []byte {
func NotFoundResponse() *http.Response {
header := make(http.Header)
header.Set("server", "frp/"+version.Full())
header.Set("server", "kanhole/"+version.Full())
header.Set("Content-Type", "text/html")
content := getNotFoundPageContent()