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