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(