diff --git a/src/ProxyServer/ProxyServer.csproj b/src/ProxyServer/ProxyServer.csproj index 7d845802eb3093fa9aaec91cc8fa3c25385f290d..1050c6a4b4a1a2c9dc561f989dbdfe322910f6bb 100644 --- a/src/ProxyServer/ProxyServer.csproj +++ b/src/ProxyServer/ProxyServer.csproj @@ -7,4 +7,7 @@ + + + diff --git a/src/ProxyServer/TransformProviders/DaprTransformProvider.cs b/src/ProxyServer/TransformProviders/DaprTransformProvider.cs index 59c8f77c557925ffa36d836095f39b5159df6826..e0bfa06b025fc765175da30ab67128c1c1c23184 100644 --- a/src/ProxyServer/TransformProviders/DaprTransformProvider.cs +++ b/src/ProxyServer/TransformProviders/DaprTransformProvider.cs @@ -5,7 +5,7 @@ using Yarp.ReverseProxy.Transforms.Builder; namespace Microsoft.Extensions.DependencyInjection; -public class DaprTransformProvider(ILogger logger) : ITransformProvider +public class DaprTransformProvider: ITransformProvider { public void Apply(TransformBuilderContext context) { @@ -33,8 +33,6 @@ public class DaprTransformProvider(ILogger logger) : ITra new PathString(string.Format(ApplicationConstants.DaprServiceInvocation, context.Route.RouteId, catchAll)), queryContext.QueryString); - logger.LogInformation("proxy to new path uri: {0}", newPathUri); - transformContext.ProxyRequest.RequestUri = newPathUri; return ValueTask.CompletedTask;