0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 10:09:03 -05:00

🚧 Add missing variable on gulpfile.

This commit is contained in:
Andrey Antukh 2020-03-12 09:59:24 +01:00
parent 8fac45e60a
commit b3747ee0e7

View file

@ -101,15 +101,15 @@ function readLocales() {
} }
function readConfig() { function readConfig() {
const backendURL = process.env.UXBOX_BACKEND_URL; const publicURL = process.env.UXBOX_PUBLIC_URL;
const demoWarn = process.env.UXBOX_DEMO_WARNING; const demoWarn = process.env.UXBOX_DEMO_WARNING;
let cfg = { let cfg = {
demoWarning: demoWarn === "true" demoWarning: demoWarn === "true"
}; };
if (backendURL !== undefined) { if (publicURL !== undefined) {
cfg.backendURL = backendURL; cfg.publicURL = publicURL;
} }
return JSON.stringify(cfg); return JSON.stringify(cfg);