diff --git a/indexHtml.go b/indexHtml.go index 4b06ae6..a4df8b3 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -107,10 +107,10 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri tmp, _ := versionMap[gourl] parts := strings.Split(tmp, " ") if len(parts) > 0 { - version = parts[0] + vtime = parts[0] } if len(parts) > 1 { - vtime = parts[1] + version = parts[1] } if vtime != "" {