Fix uploads being too large

This commit is contained in:
Jordan Dominion
2023-12-27 10:47:16 -05:00
parent 77fa5588d8
commit 4a17bdf720
@@ -80,6 +80,7 @@ namespace Tgstation.Server.Host.Controllers
/// <response code="410">The <paramref name="ticket"/> was no longer or was never valid.</response>
[TgsAuthorize]
[HttpPut]
[DisableRequestSizeLimit]
[ProducesResponseType(204)]
[ProducesResponseType(410, Type = typeof(ErrorMessageResponse))]
public async ValueTask<IActionResult> Upload([Required, FromQuery] string ticket, CancellationToken cancellationToken)