tenta fix pdfservice.js
This commit is contained in:
1 parent
e208346614
commit
e753ec8718
1 file changed
+1
-1
@@ -51,7 +51,7 @@ export class PdfService {
|
|||||||
|
|
||||||
private gerarHTML(content: string, config: any) {
|
private gerarHTML(content: string, config: any) {
|
||||||
const timbradoUrl = config.timbradoUrl
|
const timbradoUrl = config.timbradoUrl
|
||||||
? `${process.env.BACKEND_URL || 'http://localhost:5000'}${config.timbradoUrl}`
|
? `${process.env.FRONTEND_URL || 'http://localhost:5000'}${config.timbradoUrl}`
|
||||||
: '';
|
: '';
|
||||||
|
|
||||||
console.log('Gerando PDF com timbrado:', timbradoUrl);
|
console.log('Gerando PDF com timbrado:', timbradoUrl);
|
||||||
|
|||||||
Reference in new issue
Block a user