feat: update ppid files
This commit is contained in:
parent
18c5a9b4d4
commit
3b501cb314
|
|
@ -185,8 +185,8 @@ func (_i *ppidDataFilesService) Save(c *fiber.Ctx) (err error) {
|
|||
objectName := "ppid/upload/" + newFilename
|
||||
|
||||
size := strconv.FormatInt(file.Size, 10)
|
||||
fileUrl := "/ppid-data-files/viewer/"
|
||||
fileUrl += host + port + newFilename
|
||||
viewerPath := "/ppid-data-files/viewer/"
|
||||
fileUrl := host + port + viewerPath + newFilename
|
||||
|
||||
//req.Title = &newFilenameWithoutExt
|
||||
req.FileType = &extension
|
||||
|
|
|
|||
Loading…
Reference in New Issue