1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 14:07:20 +00:00

Fix various problems (#34708)

* Fix #34707
* Fix dropdown filter handling
* Fix #27014
This commit is contained in:
wxiaoguang
2025-06-13 00:19:24 +08:00
committed by GitHub
parent 65986f423f
commit 8fed27bf6a
5 changed files with 13 additions and 8 deletions

View File

@ -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)