use "prod" for production environment
This commit is contained in:
parent
ee8f37a862
commit
cf9fc7efbc
@ -48,7 +48,7 @@ def make_app(config):
|
||||
app.register_blueprint(bp)
|
||||
app.register_blueprint(workspace_routes)
|
||||
app.register_blueprint(requests_bp)
|
||||
if ENV != "production":
|
||||
if ENV != "prod":
|
||||
app.register_blueprint(dev_routes)
|
||||
|
||||
apply_authentication(app)
|
||||
|
@ -10,7 +10,7 @@ mkdir -p crl
|
||||
rsync -rq crl-tmp/. crl/.
|
||||
rm -rf crl-tmp
|
||||
|
||||
if [[ $FLASK_ENV != "production" ]]; then
|
||||
if [[ $FLASK_ENV != "prod" ]]; then
|
||||
# place our test CRL there
|
||||
cp ssl/client-certs/client-ca.der.crl crl/
|
||||
fi
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user