fix: fixing image path at about detail

This commit is contained in:
pahmiudahgede 2025-05-15 16:36:14 +07:00
parent 5b008fd41e
commit fc54cbd118
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func (s *aboutService) saveCoverImageAbout(coverImageAbout *multipart.FileHeader
}
func (s *aboutService) saveCoverImageAboutDetail(coverImageAbout *multipart.FileHeader) (string, error) {
pathImage := "/uploads/coverabout/coveraboutdetail"
pathImage := "/uploads/coverabout/coveraboutdetail/"
coverImageAboutDir := "./public" + os.Getenv("BASE_URL") + pathImage
if _, err := os.Stat(coverImageAboutDir); os.IsNotExist(err) {