Bugfix - Imagesharp cache folder is not relative to root but to the wwwroot. "~" is not replaced with root

This commit is contained in:
Bjarke Berg
2020-09-15 10:27:23 +02:00
parent 9d91e629c6
commit 5836ca3da4

View File

@@ -10,6 +10,6 @@ namespace Umbraco.Core.Configuration.Models
public uint CachedNameLength { get; set; } = 8;
public string CacheFolder { get; set; } = Path.Combine("~", "Umbraco", "Cache");
public string CacheFolder { get; set; } = Path.Combine("..", "Umbraco", "MediaCache");
}
}