File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,16 @@ var builder = WebApplication.CreateBuilder();
1010// Add services to the container.
1111builder .Services .AddControllersWithViews ();
1212builder .Services .AddSystemWebAdapters ()
13- .AddJsonSessionKeySerializer (options => ClassLibrary .SessionUtils .RegisterSessionKeys (options ))
13+ .AddJsonSessionSerializer (options => ClassLibrary .SessionUtils .RegisterSessionKeys (options ))
1414 .AddRemoteAppClient (options =>
1515 {
1616 options .RemoteAppUrl = new (builder .Configuration [" ReverseProxy:Clusters:fallbackCluster:Destinations:fallbackApp:Address" ]);
17- options .ApiKey = builder .Configuration ( " RemoteAppApiKey" ) ;
17+ options .ApiKey = builder .Configuration [ " RemoteAppApiKey" ] ;
1818 })
1919 .AddSessionClient ();
2020
21+ builder .Services .AddReverseProxy ().LoadFromConfig (builder .Configuration .GetSection (" ReverseProxy" ));
22+
2123var app = builder .Build ();
2224
2325// Configure the HTTP request pipeline.
You can’t perform that action at this time.
0 commit comments