Added max file size upload option. Switched from stream upload to multipart form content file upload
This commit is contained in:
@@ -10,6 +10,7 @@ public class AppConfiguration
|
||||
public AuthenticationConfig Authentication { get; set; } = new();
|
||||
public DevelopmentConfig Development { get; set; } = new();
|
||||
public ClientConfig Client { get; set; } = new();
|
||||
public KestrelConfig Kestrel { get; set; } = new();
|
||||
|
||||
public class ClientConfig
|
||||
{
|
||||
@@ -48,4 +49,9 @@ public class AppConfiguration
|
||||
{
|
||||
public bool EnableApiDocs { get; set; } = false;
|
||||
}
|
||||
|
||||
public class KestrelConfig
|
||||
{
|
||||
public int UploadLimit { get; set; } = 100;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user