fix: fixing image path at about detail
This commit is contained in:
parent
5b008fd41e
commit
fc54cbd118
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue