CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
update file
LinkLeong689b0f769a46
diff --git a/route/v1/file.go b/route/v1/file.goindex 98bd2af..f07f5cf 100644--- a/route/v1/file.go+++ b/route/v1/file.go@@ -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))