From 58b0362efb8d8d678be190d24d9dd4ee777300ad Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Fri, 16 May 2025 07:11:45 +0200 Subject: [PATCH] fix default value for new env var --- frontend/src/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/config/index.js b/frontend/src/config/index.js index 77a5d5f34..854e0667b 100644 --- a/frontend/src/config/index.js +++ b/frontend/src/config/index.js @@ -40,7 +40,7 @@ if (process.env.FRONTEND_HOSTING === 'nodejs') { const features = { GMS_ACTIVE: process.env.GMS_ACTIVE === 'true', HUMHUB_ACTIVE: process.env.HUMHUB_ACTIVE === 'true', - AUTO_POLL_INTERVAL: Number.parseInt(process.env.AUTO_POLL_INTERVAL) ?? 0, + AUTO_POLL_INTERVAL: Number.parseInt(process.env.AUTO_POLL_INTERVAL ?? 0), } const environment = {