Serialization refactor hotfixes

Fixes user heart count
Fixes searches not working
Fixes text/plain content not outputting
This commit is contained in:
Slendy 2023-03-28 10:33:03 -05:00
commit 1e8ef8c679
No known key found for this signature in database
GPG key ID: 7288D68361B91428
4 changed files with 6 additions and 4 deletions

View file

@ -8,6 +8,7 @@ using LBPUnion.ProjectLighthouse.Servers.GameServer.Middlewares;
using LBPUnion.ProjectLighthouse.Types.Logging;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Mvc.Formatters;
namespace LBPUnion.ProjectLighthouse.Servers.GameServer.Startup;
@ -44,6 +45,7 @@ public class GameServerStartup
{
options.OutputFormatters.Add(new LbpOutputFormatter());
options.OutputFormatters.Add(new JsonOutputFormatter());
options.OutputFormatters.Add(new StringOutputFormatter());
}
);