mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
update file
This commit is contained in:
parent
8f8a082888
commit
689b0f769a
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user