fix: fix export file url
This commit is contained in:
parent
666a4b9f90
commit
56fa65bd19
@ -131,7 +131,7 @@ func WriteDataToExcel(buffer io.Writer, questions []model.Question, answers []mo
|
||||
} else if q.Type == model.TypeFile {
|
||||
urle := response[index].Content
|
||||
if urle != "" && !strings.HasPrefix(urle, "https") {
|
||||
urle = s3Prefix + urle
|
||||
urle = strings.ReplaceAll(s3Prefix,bucketImages, bucketAnswers) + fmt.Sprint(q.Id)+ "/" + urle
|
||||
}
|
||||
fmt.Println("ORRRRR", urle, s3Prefix)
|
||||
display, tooltip := urle, urle
|
||||
|
||||
Loading…
Reference in New Issue
Block a user