From 8767bcbd4dd31c3e7c148cbaf5c9c1240342c1a5 Mon Sep 17 00:00:00 2001 From: linmeideli <2558527373@qq.com> Date: Fri, 25 Sep 2026 10:04:44 +0800 Subject: [PATCH] Change IpGeolocationService to english --- src/Empostor.Server/Service/Shared/IpGeolocationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Empostor.Server/Service/Shared/IpGeolocationService.cs b/src/Empostor.Server/Service/Shared/IpGeolocationService.cs index 7353731..0107bfc 100644 --- a/src/Empostor.Server/Service/Shared/IpGeolocationService.cs +++ b/src/Empostor.Server/Service/Shared/IpGeolocationService.cs @@ -11,7 +11,7 @@ namespace Empostor.Server.Service.Shared { public class IpGeolocationService { - private const string ApiUrl = "http://ip-api.com/json/{0}?lang=zh-CN&fields=status,country,regionName,city"; + private const string ApiUrl = "http://ip-api.com/json/{0}?lang=en&fields=status,country,regionName,city"; private static readonly TimeSpan CacheTtl = TimeSpan.FromHours(24); private readonly ConcurrentDictionary _cache = new();