diff --git a/Backend/MotoresArgentinosV2.API/Program.cs b/Backend/MotoresArgentinosV2.API/Program.cs index 4c5c035..78b5fd9 100644 --- a/Backend/MotoresArgentinosV2.API/Program.cs +++ b/Backend/MotoresArgentinosV2.API/Program.cs @@ -20,7 +20,11 @@ var builder = WebApplication.CreateBuilder(args); builder.Configuration.AddEnvironmentVariables(); // đŸ”’ KESTREL HARDENING -builder.WebHost.ConfigureKestrel(options => options.AddServerHeader = false); +builder.WebHost.ConfigureKestrel(options => +{ + options.AddServerHeader = false; + options.Limits.MaxRequestBodySize = 104857600; // 100 MB +}); // LOGGING builder.Logging.ClearProviders(); diff --git a/Frontend/nginx.conf b/Frontend/nginx.conf index 74e0d43..dc95957 100644 --- a/Frontend/nginx.conf +++ b/Frontend/nginx.conf @@ -3,7 +3,7 @@ server { server_name localhost; # Seguridad: Limitar tamaño de subida para prevenir DoS - client_max_body_size 20M; + client_max_body_size 100M; # Sitemap dinĂ¡mico (generado por backend en volumen compartido) location = /sitemap.xml { diff --git a/Frontend/src/components/FormularioAviso.tsx b/Frontend/src/components/FormularioAviso.tsx index e300176..299a4e3 100644 --- a/Frontend/src/components/FormularioAviso.tsx +++ b/Frontend/src/components/FormularioAviso.tsx @@ -1376,7 +1376,7 @@ export default function FormularioAviso({ { const val = e.target.value; setContactData({ @@ -1390,7 +1390,7 @@ export default function FormularioAviso({ placeholder={ isAdmin ? "Selecciona o crea un vendedor arriba" - : "+54 9 221 ..." + : "Modificable en tu perfil" } />