fix cloud library mounts and artwork caching

This commit is contained in:
ShukeBta
2026-06-10 20:43:42 +08:00
parent 0bf983cec8
commit fd0428ee7d
36 changed files with 1469 additions and 140 deletions
+3
View File
@@ -53,6 +53,9 @@ func saveStorageConfigHandler(svc *service.Container) gin.HandlerFunc {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
if in.Enabled != nil && !*in.Enabled && svc.Scan != nil {
_ = svc.Scan.CancelCloudScansForProvider(in.Type)
}
c.JSON(http.StatusOK, row)
}
}