Application cleanup (#485)

* Changed application to use background services and removed hacky http server startup

* Small improvements and method removals

* Removed Core dependency on Web application SDK

* Fixed wrong imported type

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
clodanSPT
2025-07-18 16:21:24 +01:00
committed by GitHub
parent 67b886127c
commit 1af50bfd34
24 changed files with 133 additions and 166 deletions
@@ -85,8 +85,8 @@ namespace SPTarkov.Server.Core.Migration.Migrations
);
//Directly injecting CreateProfileService causes a circular dependency which I can't be bothered to fix just for this
serviceProvider
.GetService<CreateProfileService>()!
(serviceProvider
.GetService(typeof(CreateProfileService)) as CreateProfileService)!
.AddMissingInternalContainersToProfile(profile.CharacterData.PmcData);
}
@@ -135,8 +135,8 @@ namespace SPTarkov.Server.Core.Migration.Migrations
.ToList();
//Directly injecting RewardHelper causes a circular dependency which I can't be bothered to fix just for this
serviceProvider
.GetService<RewardHelper>()!
(serviceProvider
.GetService(typeof(RewardHelper)) as RewardHelper)!
.ApplyRewards(
filteredRewards,
CustomisationSource.ACHIEVEMENT,