Correzioni warnings vari e test compilazione, fix applicazioni CORE in generale
This commit is contained in:
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user