Skip to content

Commit 3a639ad

Browse files
Fix #238
1 parent 70dc8ad commit 3a639ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageSharp.Web/Caching/PhysicalFileSystemCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ internal static string GetCacheRoot(PhysicalFileSystemCacheOptions cacheOptions,
8484
/// <inheritdoc/>
8585
public Task<IImageCacheResolver> GetAsync(string key)
8686
{
87-
string path = ToFilePath(key, this.cacheFolderDepth);
87+
string path = Path.Combine(this.cacheRootPath, ToFilePath(key, this.cacheFolderDepth));
8888

8989
var metaFileInfo = new FileInfo(this.ToMetaDataFilePath(path));
9090
if (!metaFileInfo.Exists)

0 commit comments

Comments
 (0)