Commit 18e6082c authored by Julia Dürselen's avatar Julia Dürselen 🚒
Browse files

Set request limit to 100mb

parent ba7c284a
Pipeline #378770 passed with stage
in 18 seconds
......@@ -31,6 +31,7 @@ namespace PDFGenerator.Controllers
/// <param name="evaluationReport">Evaluation report for which the PDF should be rendered.</param>
/// <returns>the PDF document as byte array</returns>
[HttpPost("RenderReport")]
[RequestSizeLimit(100000000)]
public byte[] RenderReport([FromBody] PDFGenerator.Models.EvaluationReport evaluationReport)
{
_logger.Log(LogLevel.Debug, "Start rendering pdf report.");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment