update file

This commit is contained in:
LinkLeong 2023-11-10 03:24:24 +00:00
parent 8f8a082888
commit 689b0f769a

View file

@ -582,6 +582,7 @@ func PostFileUpload(c *gin.Context) {
return
}
go func() {
time.Sleep(11 * time.Second)
if err := file.RMDir(tempDir); err != nil {
logger.Error("error when trying to remove `"+tempDir+"`", zap.Error(err))