aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/misc/misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/misc/misc.go')
-rw-r--r--routers/web/misc/misc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/misc/misc.go b/routers/web/misc/misc.go
index d42afafe9e..59b97c1717 100644
--- a/routers/web/misc/misc.go
+++ b/routers/web/misc/misc.go
@@ -20,7 +20,7 @@ func SSHInfo(rw http.ResponseWriter, req *http.Request) {
return
}
rw.Header().Set("content-type", "text/json;charset=UTF-8")
- _, err := rw.Write([]byte(`{"type":"gitea","version":1}`))
+ _, err := rw.Write([]byte(`{"type":"agit","version":1}`))
if err != nil {
log.Error("fail to write result: err: %v", err)
rw.WriteHeader(http.StatusInternalServerError)