Test2 HTML
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m35s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m35s
This commit is contained in:
parent
a10b71ca3a
commit
6eaffd6da5
@ -25,7 +25,7 @@ namespace Documents.Services
|
||||
string html = await _templateRenderer.RenderAsync("Quotes/Template_v1.cshtml", request.Model);
|
||||
|
||||
// 🔍 Dump HTML a archivo temporal para inspección
|
||||
File.WriteAllText("/app/html_debug_output.html", html, Encoding.UTF8);
|
||||
File.WriteAllText("/tmp/html_debug_output.html", html, Encoding.UTF8);
|
||||
// 👉 Generar PDF desde el HTML
|
||||
return await _pdfGeneratorService.GeneratePdfFromHtmlAsync(html);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user