Skip to content

Commit 38a7e8e

Browse files
Merge pull request #41 from Philo/feature/derived-azureblobfilesystem
allows derived azureblobfilesystem implementations (re #39)
2 parents 9ebc559 + 8e1b7ef commit 38a7e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UmbracoFileSystemProviders.Azure/VirtualPathProviderController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplic
3939
.Equals("true", StringComparison.InvariantCultureIgnoreCase);
4040

4141
IFileSystem fileSystem = FileSystemProviderManager.Current.GetUnderlyingFileSystemProvider(Constants.DefaultMediaRoute);
42-
bool isAzureBlobFileSystem = fileSystem.GetType() == typeof(AzureBlobFileSystem);
42+
bool isAzureBlobFileSystem = fileSystem is AzureBlobFileSystem;
4343

4444
if (!disable && isAzureBlobFileSystem)
4545
{

0 commit comments

Comments
 (0)