QOL Changes

This commit is contained in:
2026-03-20 01:35:12 +01:00
parent d0a39b2824
commit 54e82f407f
12 changed files with 183 additions and 79 deletions
@@ -7,18 +7,19 @@ namespace Musify.Infrastructure.Configuration
public const string SectionName = "Storage";
[Required]
[Url]
public required string ServiceUrl { get; set; }
[Required]
[MinLength(3)]
public required string AccessKey { get; set; }
[Required]
[MinLength(8)]
public required string SecretAccessKey { get; set; }
[Required]
public bool ForcePathStyle { get; set; }
[Required]
public bool UseHttp { get; set; }
}
}
@@ -22,7 +22,6 @@ namespace Musify.Infrastructure.Storage
} );
serviceDescriptors.AddScoped<IStorageHandler, StorageHandler>();
return serviceDescriptors;
}
}