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:
parent
8fac45e60a
commit
b3747ee0e7
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue