From 62fcb628cfd55c2bb3e689d9060f8ecd8934022d Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 6 Mar 2026 13:14:43 +0800 Subject: [PATCH] fix: change IClientIpAddressProvider registration from transient to singleton --- .../Volo/Abp/AspNetCore/AbpAspNetCoreAbstractionsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Abstractions/Volo/Abp/AspNetCore/AbpAspNetCoreAbstractionsModule.cs b/framework/src/Volo.Abp.AspNetCore.Abstractions/Volo/Abp/AspNetCore/AbpAspNetCoreAbstractionsModule.cs index 2c27ea864a..7d72a0bfa8 100644 --- a/framework/src/Volo.Abp.AspNetCore.Abstractions/Volo/Abp/AspNetCore/AbpAspNetCoreAbstractionsModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Abstractions/Volo/Abp/AspNetCore/AbpAspNetCoreAbstractionsModule.cs @@ -12,6 +12,6 @@ public class AbpAspNetCoreAbstractionsModule : AbpModule { context.Services.AddSingleton(); context.Services.AddSingleton(); - context.Services.AddTransient(); + context.Services.AddSingleton(); } }