Skip to content

Commit bedf173

Browse files
committed
Do not use Azure blob storage for keys on local debug
1 parent a10494d commit bedf173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoinRpg.Portal/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void ConfigureServices(IServiceCollection services)
7272

7373

7474
var dataProtection = services.AddDataProtection();
75-
if (blobStorageOptions.BlobStorageConfigured)
75+
if (blobStorageOptions.BlobStorageConfigured && !environment.IsDevelopment())
7676
{
7777
dataProtection.PersistKeysToAzureBlobStorage(
7878
blobStorageOptions.BlobStorageConnectionString,

0 commit comments

Comments
 (0)