From 33e640f1e8654fcfc8102b43449c79bcb4d5ddff Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 14 Nov 2020 19:38:26 +0300 Subject: build: setup docker correctly --- src/handlers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handlers/index.js') 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) => { -- cgit v1.2.3