From b3747ee0e7c2ac2224a4caa4d393cc873b772d8c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 12 Mar 2020 09:59:24 +0100 Subject: [PATCH] :construction: Add missing variable on gulpfile. --- frontend/gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index db679cf7c..a932d86ce 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -101,15 +101,15 @@ function readLocales() { } function readConfig() { - const backendURL = process.env.UXBOX_BACKEND_URL; + const publicURL = process.env.UXBOX_PUBLIC_URL; const demoWarn = process.env.UXBOX_DEMO_WARNING; let cfg = { demoWarning: demoWarn === "true" }; - if (backendURL !== undefined) { - cfg.backendURL = backendURL; + if (publicURL !== undefined) { + cfg.publicURL = publicURL; } return JSON.stringify(cfg);