Browse Source

修复地址错误

master
OhYee 2 years ago
parent
commit
8086621d77
Signed by: OhYee
GPG Key ID: 5A9E1F63ED274FBB
  1. 2
      main.go

2
main.go

@ -69,7 +69,7 @@ func (serv handle) ServeHTTP(w http.ResponseWriter, r *http.Request) { @@ -69,7 +69,7 @@ func (serv handle) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(fmt.Sprintf("Can not solve request %s", r.RequestURI)))
}
go h.Handle(path.Join(serv.Root, "repos", h.RepoName))
go h.Handle(path.Join(serv.Root, "repos", h.Repo))
}
var nocolor = color.New()

Loading…
Cancel
Save