mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
update ui
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
|
||||
import pdfkit from 'pdfkit';
|
||||
|
||||
import { PassThrough } from 'node:stream';
|
||||
|
||||
import { ProjectModel } from "@schema/project/ProjectSchema";
|
||||
@@ -33,7 +32,7 @@ function formatNumberK(value: string | number, decimals: number = 1) {
|
||||
|
||||
const LINE_SPACING = 0.5;
|
||||
|
||||
const resourcePath = process.env.MODE === 'TEST' ? './public/pdf/' : '../public/pdf/';
|
||||
const resourcePath = process.env.MODE === 'TEST' ? './public/pdf/' : './.output/public/pdf/';
|
||||
|
||||
function createPdf(data: PDFGenerationData) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user