feat: update ppid files

This commit is contained in:
hanif salafi 2024-07-02 12:17:34 +07:00
parent 18c5a9b4d4
commit 3b501cb314
1 changed files with 2 additions and 2 deletions

View File

@ -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