deploys, downloads 경로 변경

This commit is contained in:
2023-06-22 20:35:35 +09:00
parent 30ff0a4b27
commit 9947835ba1
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ func (h *houstonHandler) GetDeploySources(w http.ResponseWriter, r *http.Request
ver := fd.Name()
files, _ := os.ReadDir(path.Join(h.deployPath, name, ver))
if len(files) > 0 {
downloadpath := path.Join(h.deployPath, name, ver, files[0].Name())
downloadpath := path.Join(sub_folder_name_deploys, name, ver, files[0].Name())
ver = fmt.Sprintf("%s:%s", ver, downloadpath)
}
out = append(out, ver)