Skip to content

Commit a564ab7

Browse files
Update PhysicalFileSystemProvider.cs
1 parent 4c9973c commit a564ab7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ImageSharp.Web/Providers/PhysicalFileSystemProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public PhysicalFileSystemProvider(
5151

5252
// Allow configuration of the provider without having to register everything
5353
PhysicalFileSystemProviderOptions providerOptions = options != null ? options.Value : new();
54-
string cacheRootPath = GetProviderRoot(providerOptions, environment.WebRootPath, environment.ContentRootPath);
54+
string providerRootPath = GetProviderRoot(providerOptions, environment.WebRootPath, environment.ContentRootPath);
5555

5656
// Ensure provider directory is created before initializing the file provider
57-
Directory.CreateDirectory(cacheRootPath);
58-
this.fileProvider = new PhysicalFileProvider(cacheRootPath);
57+
Directory.CreateDirectory(providerRootPath);
58+
this.fileProvider = new PhysicalFileProvider(providerRootPath);
5959
this.formatUtilities = formatUtilities;
6060
}
6161

0 commit comments

Comments
 (0)