6 lines
212 B
C#
6 lines
212 B
C#
var builder = WebApplication.CreateBuilder(args);
|
|
builder.Services.AddReverseProxy()
|
|
.LoadFromConfig(builder.Configuration.GetSection("ReverseProxy"));
|
|
var app = builder.Build();
|
|
app.MapReverseProxy();
|
|
app.Run(); |