Allow not acceptable responses from ASP.NET Core

This commit is contained in:
Jordan Brown
2020-07-04 13:39:30 -04:00
parent 09c763b2b7
commit 149efc11d2
@@ -173,6 +173,7 @@ namespace Tgstation.Server.Host.Core
.AddMvc(options =>
{
options.EnableEndpointRouting = false;
options.ReturnHttpNotAcceptable = true;
})
.AddNewtonsoftJson(options =>
{