mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-11-06 14:49:52 +00:00
update file
This commit is contained in:
parent
8f8a082888
commit
689b0f769a
@ -582,6 +582,7 @@ func PostFileUpload(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
|
|
||||||
time.Sleep(11 * time.Second)
|
time.Sleep(11 * time.Second)
|
||||||
if err := file.RMDir(tempDir); err != nil {
|
if err := file.RMDir(tempDir); err != nil {
|
||||||
logger.Error("error when trying to remove `"+tempDir+"`", zap.Error(err))
|
logger.Error("error when trying to remove `"+tempDir+"`", zap.Error(err))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user