diff --git a/src/Application/Program.cs b/src/Application/Program.cs index 04baee32a..1f08448ff 100644 --- a/src/Application/Program.cs +++ b/src/Application/Program.cs @@ -21,6 +21,7 @@ builder.Configuration.AddJsonFile(fileInfo.FullName, optional: false, reloadOnChange: true); // Configure YARP +builder.Services.AddServiceDiscovery(); builder.Services.AddReverseProxy() .LoadFromConfig(builder.Configuration.GetSection("ReverseProxy")) .AddServiceDiscoveryDestinationResolver();