🚚 Rename GeoIP service

This commit is contained in:
2025-12-14 03:19:08 +08:00
parent 4ba7d38d78
commit c9530ac8b5
33 changed files with 44 additions and 45 deletions

View File

@@ -2,7 +2,7 @@ using System.Globalization;
using System.Text.Json;
using System.Text.Json.Serialization;
using DysonNetwork.Shared.Cache;
using DysonNetwork.Shared.GeoIp;
using DysonNetwork.Shared.Geometry;
using DysonNetwork.Zone.Publication;
using NodaTime;
using NodaTime.Serialization.SystemTextJson;
@@ -73,8 +73,8 @@ public static class ServiceCollectionExtensions
IConfiguration configuration
)
{
services.Configure<GeoIpOptions>(configuration.GetSection("GeoIP"));
services.AddScoped<GeoIpService>();
services.Configure<GeoOptions>(configuration.GetSection("GeoIP"));
services.AddScoped<GeoService>();
services.AddScoped<PublicationSiteService>();
services.AddScoped<PublicationSiteManager>();