Skip to content

Commit

Permalink
Update printer-service.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Oct 1, 2023
1 parent cf7626a commit 193b0a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions printer-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/

const WebSocketClient = require('ws');
const chokidar = require('chokidar');
const watchdir = "/var/spool/cups-pdf/ANONYMOUS";
const chokidar = require('chokidar');
const watchdir = process.env.WATCHDIR || process.env.HOME;
let watcher = null;

function broadcastevent(method, data) {
Expand Down

0 comments on commit 193b0a4

Please sign in to comment.