mirror of https://github.com/1Panel-dev/1Panel
fix: 文件主目录修改
parent
777e175f5f
commit
6cf654b5a1
|
@ -74,7 +74,7 @@ func (a AppInstallService) CheckExist(key string) (*response.AppInstalledCheck,
|
|||
res.Status = appInstall.Status
|
||||
res.AppInstallID = appInstall.ID
|
||||
res.IsExist = true
|
||||
res.InstallPath = path.Join(constant.AppInstallDir, appInstall.Name)
|
||||
res.InstallPath = path.Join(constant.AppInstallDir, app.Key, appInstall.Name)
|
||||
if len(appInstall.Backups) > 0 {
|
||||
res.LastBackupAt = appInstall.Backups[0].CreatedAt.Format("2006-01-02 15:04:05")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue