S3: add public_url, fix Content-Disposition, add oss-file proxy

This commit is contained in:
Lizandro Guarnizo
2026-06-10 09:34:17 -05:00
parent 0fc7b8b94d
commit cf078a6e5f
4 changed files with 165 additions and 2 deletions
+1
View File
@@ -17,6 +17,7 @@ type OssApi struct {
BucketName string `gorm:"not null" json:"bucket_name"` // Nombre del bucket o access point
Region string `gorm:"size:50" json:"region"` // Región, opcional
IsActive bool `gorm:"default:true" json:"is_active"` // Activar o desactivar config
PublicURL string `gorm:"size:255" json:"public_url"` // URL pública para S3 (opcional)
Notes string `gorm:"type:text" json:"notes"`
}