Rendering: Better card debug output

- Add timestamp
- Larger font
This commit is contained in:
2023-07-31 17:17:30 +02:00
parent 44eb1783ac
commit b0311a3bb3

View File

@@ -118,8 +118,8 @@ module.exports = {
if(process.env.NODE_ENV === "development") { if(process.env.NODE_ENV === "development") {
debugElement = { debugElement = {
"type": "text", "type": "text",
"text": `Jose-Endpoint: ${process.env.JOSE_ENDPOINT}\nNode: %nodeid% \nPrint: ${card.printNr} uid: ${card.identifier}\n Serve-Mode: %servemode%`, "text": `Jose-Endpoint: \n${process.env.JOSE_ENDPOINT}\nNode: \n%nodeid% \nPrint: ${card.printNr} uid: ${card.identifier}\n Serve-Mode: %servemode%\n TS:%timestamp%`,
"fontSize": 25, "fontSize": 35,
"x": 0, "x": 0,
"y": 50, "y": 50,
"width": 600, "width": 600,