chore: update file location
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
c741a55577
commit
81a463e761
|
@ -12,5 +12,6 @@ COPY env/$env_target /app/.env
|
|||
COPY --from=builder /app/env/$env_target .env
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY --from=builder /app/assets ./assets
|
||||
COPY --from=builder /app/package.json ./package.json
|
||||
CMD ["node", "--max-old-space-size=8192","--max-http-header-size", "512000", "-r", "dotenv/config", "dist/main"]
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
|
@ -5,10 +5,10 @@ import { PassThrough } from 'stream';
|
|||
export async function GeneratePdf(transaction, invoiceType, banks) {
|
||||
const fonts = {
|
||||
Roboto: {
|
||||
normal: './fonts/Roboto-Regular.ttf',
|
||||
bold: './fonts/Roboto-Medium.ttf',
|
||||
italics: './fonts/Roboto-Italic.ttf',
|
||||
bolditalics: './fonts/Roboto-MediumItalic.ttf',
|
||||
normal: './assets/fonts/Roboto-Regular.ttf',
|
||||
bold: './assets/fonts/Roboto-Medium.ttf',
|
||||
italics: './assets/fonts/Roboto-Italic.ttf',
|
||||
bolditalics: './assets/fonts/Roboto-MediumItalic.ttf',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue