mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 21:36:36 +02:00
🔧 ldap frontend config, locales, gulp config
This commit is contained in:
parent
005f70ed19
commit
6fd7a23690
3 changed files with 16 additions and 0 deletions
|
@ -113,6 +113,7 @@ function readConfig(data) {
|
|||
const demoWarn = process.env.UXBOX_DEMO_WARNING;
|
||||
const deployDate = process.env.UXBOX_DEPLOY_DATE;
|
||||
const deployCommit = process.env.UXBOX_DEPLOY_COMMIT;
|
||||
const loginWithLDAP = process.env.UXBOX_LOGIN_WITH_LDAP;
|
||||
|
||||
let cfg = {
|
||||
demoWarning: demoWarn === "true"
|
||||
|
@ -130,6 +131,10 @@ function readConfig(data) {
|
|||
cfg.deployCommit = deployCommit;
|
||||
}
|
||||
|
||||
if (loginWithLDAP !== undefined) {
|
||||
cfg.loginWithLDAP = loginWithLDAP;
|
||||
}
|
||||
|
||||
Object.assign(cfg, data);
|
||||
|
||||
return JSON.stringify(cfg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue