diff --git a/packages/backend/http/paste.go b/packages/backend/http/paste.go index b7be7ab..3e86fe3 100644 --- a/packages/backend/http/paste.go +++ b/packages/backend/http/paste.go @@ -251,7 +251,7 @@ func removeDiskBuffer(filePath string, srcType string) { fmt.Println("Failed to delete buffer file:", err) return } - if srcType == "google" { + if srcType == "google" || srcType == "awss3" { dir := filepath.Dir(filePath) err = os.Remove(dir) if err != nil {