Skip to content

Commit 10a34e6

Browse files
committed
asdasdasd
1 parent d4399bb commit 10a34e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CFLookup/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ private static async Task Main(string[] args)
101101
var redis = ConnectionMultiplexer.Connect(redisServer);
102102

103103
builder.Services.AddSingleton(redis);
104+
105+
builder.Services.AddDataProtection()
106+
.PersistKeysToStackExchangeRedis(redis, "CFLookup-DataProtection-Keys");
104107

105108
builder.Services.AddScoped(x => new SqlConnection(dbConnectionString));
106109

0 commit comments

Comments
 (0)