falta testear
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Text.Json;
|
||||
using Minio;
|
||||
using AlquilaFacil.Config;
|
||||
using Microsoft.AspNetCore.Http.Features;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -19,6 +20,11 @@ builder.Services.AddMinio(options => options
|
||||
.WithSSL(false)
|
||||
.Build());
|
||||
|
||||
builder.Services.Configure<FormOptions>(options =>
|
||||
{
|
||||
options.MultipartBodyLengthLimit = 50 * 1024 * 1024; // 50 MB
|
||||
});
|
||||
|
||||
builder.Services.AddCors(options =>
|
||||
{
|
||||
options.AddPolicy("AllowSvelteApp",
|
||||
|
||||
Reference in New Issue
Block a user