using SPTarkov.DI.Annotations; namespace SPTarkov.Server.Core.Services.Image; [Injectable(InjectionType.Singleton)] public class ImageRouterService { protected readonly Dictionary routes = new(); public void AddRoute(string urlKey, string route) { routes[urlKey] = route; } public string GetByKey(string urlKey) { return routes[urlKey]; } public bool ExistsByKey(string urlKey) { return routes.ContainsKey(urlKey); } }