mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
📎 Minor renaming of config variables.
This commit is contained in:
parent
39278b47dd
commit
1fe23ff732
2 changed files with 4 additions and 4 deletions
|
@ -33,10 +33,10 @@ PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
||||||
# PENPOT_SMTP_USERNAME=
|
# PENPOT_SMTP_USERNAME=
|
||||||
# PENPOT_SMTP_PASSWORD=
|
# PENPOT_SMTP_PASSWORD=
|
||||||
# PENPOT_SMTP_TLS=true
|
# PENPOT_SMTP_TLS=true
|
||||||
# PENPOT_SMTP_SSL=false
|
# PENPOT_SMTP_SSL=false
|
||||||
|
|
||||||
# Flags that enables features on frontend applitation.
|
# Flags that enables features on frontend applitation.
|
||||||
PENPOT_FRONTEND_FLAGS="enable-registration enable-demo-users"
|
PENPOT_FLAGS="enable-registration enable-demo-users"
|
||||||
|
|
||||||
# Comma separated list of allowed domains to register. Empty to allow all.
|
# Comma separated list of allowed domains to register. Empty to allow all.
|
||||||
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||||
|
|
|
@ -68,9 +68,9 @@ update_registration_enabled() {
|
||||||
}
|
}
|
||||||
|
|
||||||
update_flags() {
|
update_flags() {
|
||||||
if [ -n "$PENPOT_FRONTEND_FLAGS" ]; then
|
if [ -n "$PENPOT_FLAGS" ]; then
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FRONTEND_FLAGS\";|g" \
|
-e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \
|
||||||
"$1"
|
"$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue