Use JSON label printer webhooks by default

This commit is contained in:
Bernd Bestel 2025-03-21 16:40:56 +01:00
parent 89b8a9c1a9
commit b2ba1de9e3
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -110,7 +110,7 @@ Setting('GROCYCODE_TYPE', '1D');
Setting('LABEL_PRINTER_WEBHOOK', ''); // The URI that Grocy will POST to when asked to print a label
Setting('LABEL_PRINTER_RUN_SERVER', true); // Whether the webhook will be called server- or client-side
Setting('LABEL_PRINTER_PARAMS', ['font_family' => 'Source Sans Pro (Regular)']); // Additional parameters supplied to the webhook
Setting('LABEL_PRINTER_HOOK_JSON', false); // TRUE to use JSON or FALSE to use normal POST request variables
Setting('LABEL_PRINTER_HOOK_JSON', true); // TRUE to use JSON or FALSE to use normal POST request variables
// Thermal printer options