From fc306de34ed2889f796516bd072bf0d7b19bbdaa Mon Sep 17 00:00:00 2001 From: Benjamin Petit Date: Wed, 8 Jan 2025 17:58:40 +0100 Subject: [PATCH] Add AddServiceDiscovery --- src/Application/Program.cs | 1 + 1 file changed, 1 insertion(+) 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();