Skip to content

Commit

Permalink
Fix #238
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Mar 22, 2022
1 parent 70dc8ad commit 3a639ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageSharp.Web/Caching/PhysicalFileSystemCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ internal static string GetCacheRoot(PhysicalFileSystemCacheOptions cacheOptions,
/// <inheritdoc/>
public Task<IImageCacheResolver> GetAsync(string key)
{
string path = ToFilePath(key, this.cacheFolderDepth);
string path = Path.Combine(this.cacheRootPath, ToFilePath(key, this.cacheFolderDepth));

var metaFileInfo = new FileInfo(this.ToMetaDataFilePath(path));
if (!metaFileInfo.Exists)
Expand Down

0 comments on commit 3a639ad

Please sign in to comment.