From 62da31eb31baf7e27bf4c6d3d15e2c69617e2f74 Mon Sep 17 00:00:00 2001 From: vnugent Date: Thu, 28 Sep 2023 12:04:53 -0400 Subject: package updates and new config upstream cors update --- back-end/src/Content.Publishing.Blog.Admin.csproj | 10 ++++++---- back-end/src/Storage/MinioClientManager.cs | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'back-end/src') diff --git a/back-end/src/Content.Publishing.Blog.Admin.csproj b/back-end/src/Content.Publishing.Blog.Admin.csproj index e5cf72b..d96790b 100644 --- a/back-end/src/Content.Publishing.Blog.Admin.csproj +++ b/back-end/src/Content.Publishing.Blog.Admin.csproj @@ -4,7 +4,6 @@ net6.0 enable true - README.md Content.Publishing.Blog.Admin CMNext @@ -17,6 +16,8 @@ Copyright © 2023 Vaughn Nugent https://www.vaughnnugent.com/resources/software/modules/CMNext.Admin https://github.com/VnUgE/CMNext/tree/master/ + README.md + LICENSE.txt @@ -27,14 +28,15 @@ True \ + Always - + - - + + diff --git a/back-end/src/Storage/MinioClientManager.cs b/back-end/src/Storage/MinioClientManager.cs index 6dd0f5c..105e298 100644 --- a/back-end/src/Storage/MinioClientManager.cs +++ b/back-end/src/Storage/MinioClientManager.cs @@ -115,8 +115,8 @@ namespace Content.Publishing.Blog.Admin.Storage .WithObject(filePath) .WithCallbackStream(async (stream, cancellation) => { - //Read the objec to memory - await stream.CopyToAsync(output, 4096, MemoryUtil.Shared, cancellation); + //Read the object to memory + await stream.CopyToAsync(output, 16384, MemoryUtil.Shared, cancellation); }); try { -- cgit