increase size of MaximumReceiveMessageSize for Blazor Server

This commit is contained in:
sbwalker 2023-11-17 16:06:11 -05:00
parent f78046d4c1
commit 2194dc0463

View File

@ -71,6 +71,9 @@ namespace Oqtane
{
options.DetailedErrors = true;
}
})
.AddHubOptions(options => {
options.MaximumReceiveMessageSize = null; // no limit (for large amnounts of data ie. textarea components)
});
// setup HttpClient for server side in a client side compatible fashion ( with auth cookie )