This commit is contained in:
David Štaleker
2024-03-13 05:51:52 +01:00
parent 023d210a16
commit 5e29cd335d
6 changed files with 104 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ builder.Services.Configure<IISOptions>(options =>
options.AutomaticAuthentication = false;
});
builder.Services.AddDataProtection().SetApplicationName("ZpcBulletinBoard").PersistKeysToFileSystem(new DirectoryInfo(@"Keys/"));
builder.Services.AddDataProtection().SetApplicationName("ZpcBulletinBoard").PersistKeysToFileSystem(new DirectoryInfo(@"wwwroot/keys/"));
var app = builder.Build();