Skip to content

Commit ec63515

Browse files
committed
Update Program.cs
1 parent 01d1f8c commit ec63515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MyApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
services.ConfigureApplicationCookie(options => options.DisableRedirectsForApis());
2424

2525
services.AddDataProtection()
26-
.PersistKeysToFileSystem(new DirectoryInfo("App_Data"));
26+
.PersistKeysToFileSystem(new DirectoryInfo("App_Data".AssertDir()));
2727

2828
// Add application services.
2929
services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>();

0 commit comments

Comments
 (0)