use "prod" for production environment

This commit is contained in:
dandds
2018-08-08 09:41:42 -04:00
parent ee8f37a862
commit cf9fc7efbc
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ echo "Resetting CA bundle..."
rm ssl/server-certs/ca-chain.pem &> /dev/null || true
touch $CA_CHAIN
if [[ $FLASK_ENV != "production" ]]; then
if [[ $FLASK_ENV != "prod" ]]; then
# only for testing and development
echo "Copy in testing client CA..."
cat ssl/client-certs/client-ca.crt >> $CA_CHAIN