diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 095649224a..589a87a6da 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -304,6 +304,8 @@ namespace Tgstation.Server.Host.Core ChangeToken.OnChange(configuration.GetReloadToken, () => serverControl.Restart()); applicationBuilder.UseDeveloperExceptionPage(); //it is not worth it to limit this, you should only ever get it if you're an authorized user + + applicationBuilder.UseCancelledRequestSuppression(); applicationBuilder.UseAsyncInitialization(async cancellationToken => { @@ -315,8 +317,6 @@ namespace Tgstation.Server.Host.Core applicationBuilder.UseDbConflictHandling(); - applicationBuilder.UseCancelledRequestSuppression(); - applicationBuilder.UseMvc(); }