From d60a57b4c0e96704a5aacd528c0b9a98598fa1e4 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 5 Jun 2024 16:20:52 +0800 Subject: [PATCH] fix(templates): fix pre configured wrapper --- .../ProjectNameHttpApiHostModule.Configure.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet-core/templates/content/host/PackageName.CompanyName.ProjectName.HttpApi.Host/ProjectNameHttpApiHostModule.Configure.cs b/aspnet-core/templates/content/host/PackageName.CompanyName.ProjectName.HttpApi.Host/ProjectNameHttpApiHostModule.Configure.cs index 5636bbe46..b3261cc02 100644 --- a/aspnet-core/templates/content/host/PackageName.CompanyName.ProjectName.HttpApi.Host/ProjectNameHttpApiHostModule.Configure.cs +++ b/aspnet-core/templates/content/host/PackageName.CompanyName.ProjectName.HttpApi.Host/ProjectNameHttpApiHostModule.Configure.cs @@ -416,7 +416,7 @@ private void ConfigureWrapper() private void PreConfigureWrapper() { - Configure(options => + PreConfigure(options => { // http服务间调用发送不需要包装结果的请求头 options.ProxyClientActions.Add( @@ -426,7 +426,7 @@ private void PreConfigureWrapper() }); }); - Configure(options => + PreConfigure(options => { // dapr服务间调用发送不需要包装结果的请求头 options.ProxyRequestActions.Add(