mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
implement action on report plugin for issue #144
This commit is contained in:
@ -244,7 +244,10 @@ namespace IW4MAdmin.Application
|
||||
customLocale: config?.EnableCustomLocale ?? false ? (config.CustomLocale ?? "en-US") : "en-US");
|
||||
})
|
||||
.AddSingleton<IManager, ApplicationManager>()
|
||||
.AddSingleton(_serviceProvider => RestClient.For<IMasterApi>(Utilities.IsDevelopment ? new Uri("http://127.0.0.1:8080") : _serviceProvider.GetRequiredService<ApplicationConfiguration>().MasterUrl))
|
||||
.AddSingleton(_serviceProvider => RestClient
|
||||
.For<IMasterApi>(Utilities.IsDevelopment ? new Uri("http://127.0.0.1:8080") : _serviceProvider
|
||||
.GetRequiredService<IConfigurationHandler<ApplicationConfiguration>>().Configuration()?.MasterUrl ??
|
||||
new ApplicationConfiguration().MasterUrl))
|
||||
.AddSingleton<IMasterCommunication, MasterCommunication>();
|
||||
|
||||
if (args.Contains("serialevents"))
|
||||
|
Reference in New Issue
Block a user