Minor fixes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-05-30 15:25:46 +02:00
parent 1d4af8c74e
commit ef0d77f1d6
3 changed files with 10 additions and 4 deletions

View File

@ -30,8 +30,11 @@ pub const ALLOWED_ISO_MIME_TYPES: [&str; 4] = [
pub const ISO_MAX_SIZE: FileSize = FileSize::from_gb(10);
/// Allowed uploaded disk images formats
pub const ALLOWED_DISK_IMAGES_MIME_TYPES: [&str; 2] =
["application/x-qemu-disk", "application/gzip"];
pub const ALLOWED_DISK_IMAGES_MIME_TYPES: [&str; 3] = [
"application/x-qemu-disk",
"application/gzip",
"application/octet-stream",
];
/// Disk image max size
pub const DISK_IMAGE_MAX_SIZE: FileSize = FileSize::from_gb(10 * 1000);