Correzioni warnings vari e test compilazione, fix applicazioni CORE in generale

This commit is contained in:
Samuele Locatelli
2026-05-28 10:33:00 +02:00
parent ce59a00d02
commit e4d56be0af
55 changed files with 108 additions and 246 deletions
+5 -2
View File
@@ -226,8 +226,11 @@ if (!string.IsNullOrEmpty(BasePathOdlReturn))
// https://harrybellamy.com/posts/getting-mime-types-from-file-extensions-in-net-core/
foreach (var item in mimeDict)
{
// Add new mappings
provider.Mappings[item.Key] = item.Value;
if (!string.IsNullOrEmpty(item.Value))
{
// Add new mappings
provider.Mappings[item.Key] = item.Value;
}
}
}