Fix: Descripción (Saltos de líneas habilitados).
This commit is contained in:
@@ -233,13 +233,6 @@ app.Use(async (context, next) =>
|
||||
context.Response.Headers.Append("Access-Control-Allow-Private-Network", "true");
|
||||
}
|
||||
|
||||
// Permitir que la petición OPTIONS pase sin más checks
|
||||
if (context.Request.Method == "OPTIONS")
|
||||
{
|
||||
context.Response.StatusCode = 204; // No Content
|
||||
return;
|
||||
}
|
||||
|
||||
await next();
|
||||
});
|
||||
app.UseCors("AllowSpecificOrigin");
|
||||
|
||||
Reference in New Issue
Block a user