Increase maximum backup restoration size to 5GB

(cherry picked from commit e38deb34221ebf131adcce9551774898f46b1f7f)
This commit is contained in:
Mark McDowall 2025-04-29 18:50:55 -07:00 committed by sharinganthief
parent 2600ff36b0
commit 67b1299d91

View file

@ -92,7 +92,7 @@ public object Restore(int id)
}
[HttpPost("restore/upload")]
[RequestFormLimits(MultipartBodyLengthLimit = 1000000000)]
[RequestFormLimits(MultipartBodyLengthLimit = 5000000000)]
public object UploadAndRestore()
{
var files = Request.Form.Files;