summaryrefslogtreecommitdiff
path: root/src/handlers/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers/index.js')
-rw-r--r--src/handlers/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/index.js b/src/handlers/index.js
index e6f84df..18946fc 100644
--- a/src/handlers/index.js
+++ b/src/handlers/index.js
@@ -8,7 +8,7 @@ const { clickElementBySelector } = require('./utils.js');
const { EDUFPMI_URL, NODE_ENV, HEADLESS } = process.env;
// Always run headless in production, but allow configuring for development
-const headless = NODE_ENV === 'production' || HEADLESS || false;
+const headless = NODE_ENV === 'production' || HEADLESS;
const handleJobAsUser = async (job, user) => {