fix configuration values inconsistency

This commit is contained in:
Dariusz Zbik
2020-02-10 22:24:34 +01:00
parent f0f36a6c9b
commit 52c89b4775
2 changed files with 3 additions and 3 deletions

2
run.sh
View File

@@ -79,7 +79,7 @@ if [ "$1" = "run" ]; then
chown postgres:postgres /var/lib/postgresql -R
# Configure Apache CORS
if [ "$ALLOW_CORS" == "1" ]; then
if [ "$ALLOW_CORS" == "enabled" ]; then
echo "export APACHE_ARGUMENTS='-D ALLOW_CORS'" >> /etc/apache2/envvars
fi