From 1fe23ff732725ed3c720ad9d3734e41cf3546a84 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 16 Sep 2021 11:33:40 +0200 Subject: [PATCH] :paperclip: Minor renaming of config variables. --- docker/images/config.env | 4 ++-- docker/images/files/nginx-entrypoint.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/images/config.env b/docker/images/config.env index 15474b764f..cc843cda53 100644 --- a/docker/images/config.env +++ b/docker/images/config.env @@ -33,10 +33,10 @@ PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com # PENPOT_SMTP_USERNAME= # PENPOT_SMTP_PASSWORD= # PENPOT_SMTP_TLS=true -# PENPOT_SMTP_SSL=false +# PENPOT_SMTP_SSL=false # 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. # PENPOT_REGISTRATION_DOMAIN_WHITELIST="" diff --git a/docker/images/files/nginx-entrypoint.sh b/docker/images/files/nginx-entrypoint.sh index 53328434c3..270b7e26ae 100644 --- a/docker/images/files/nginx-entrypoint.sh +++ b/docker/images/files/nginx-entrypoint.sh @@ -68,9 +68,9 @@ update_registration_enabled() { } update_flags() { - if [ -n "$PENPOT_FRONTEND_FLAGS" ]; then + if [ -n "$PENPOT_FLAGS" ]; then sed -i \ - -e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FRONTEND_FLAGS\";|g" \ + -e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \ "$1" fi }