0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 23:08:24 -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() {
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);