diff --git a/CulinaryCommandApp/Program.cs b/CulinaryCommandApp/Program.cs index 1990c54..ae2eee7 100644 --- a/CulinaryCommandApp/Program.cs +++ b/CulinaryCommandApp/Program.cs @@ -18,7 +18,8 @@ using Amazon.Extensions.NETCore.Setup; using CulinaryCommandApp.Services; using Microsoft.AspNetCore.HttpOverrides; -using Microsoft.AspNetCore.DataProtection; + + var builder = WebApplication.CreateBuilder(args); @@ -174,9 +175,6 @@ o.KnownProxies.Clear(); }); -builder.Services.AddDataProtection() - .PersistKeysToFileSystem(new DirectoryInfo("/var/www/culinarycommand/dpkeys")) - .SetApplicationName("CulinaryCommand"); //