Merge branch 'main' of https://git.odit.services/lfk/kiosk
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Dormann 2023-04-19 12:05:00 +02:00
commit 74970c4c5b
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 2 additions and 4 deletions

View File

@ -42,11 +42,9 @@
scale: 10,
includetext: true,
textxalign: 'center',
backgroundcolor: 'ffffff'
backgroundcolor: 'ffffff',
height: 10
};
if (bcid == 'code128') {
codeconfig.height = 10;
}
bwipjs.toCanvas(canvas, codeconfig);
return canvas.toDataURL('image/png');
}