From 6dbcc6452ebba5e8b91c086ecc6c8998926c7bcc Mon Sep 17 00:00:00 2001 From: Nick Blakely Date: Sun, 20 Sep 2020 23:19:10 -0700 Subject: [PATCH] Increase size limit --- Giants.WebApi/Controllers/CrashReportsController.cs | 2 +- Giants.WebApi/Giants.WebApi.csproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Giants.WebApi/Controllers/CrashReportsController.cs b/Giants.WebApi/Controllers/CrashReportsController.cs index 865f69a..3a312ef 100644 --- a/Giants.WebApi/Controllers/CrashReportsController.cs +++ b/Giants.WebApi/Controllers/CrashReportsController.cs @@ -19,7 +19,7 @@ private readonly IHttpContextAccessor httpContextAccessor; private readonly ILogger logger; private readonly IConfiguration configuration; - private const long MaximumSizeInBytes = 5242880; // 5MB + private const long MaximumSizeInBytes = 10485760; // 10MB public CrashReportsController( ICrashReportService crashReportService, diff --git a/Giants.WebApi/Giants.WebApi.csproj b/Giants.WebApi/Giants.WebApi.csproj index 6f68da8..4daa0bc 100644 --- a/Giants.WebApi/Giants.WebApi.csproj +++ b/Giants.WebApi/Giants.WebApi.csproj @@ -2,6 +2,7 @@ netcoreapp3.1 + 155c5645-8bf7-4515-88d4-9ef801fdc47e