This commit is contained in:
maze.y2b@gmail.com
2021-12-03 20:38:40 +08:00
parent 5c53243e81
commit edf1bb476d
6 changed files with 77 additions and 61 deletions

View File

@ -240,5 +240,5 @@ func getLogs(w http.ResponseWriter, r *http.Request) {
}
func version(w http.ResponseWriter, r *http.Request) {
render.JSON(w, r, render.M{"version": C.Version})
render.JSON(w, r, render.M{"Meta": C.Meta, "version": C.Version})
}