This commit is contained in:
Feruz 2019-01-08 14:08:39 +02:00
parent 8eca088869
commit 2b23396a94
2 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ cat $GOOGLE_JSON_FILE
printf "Old .env file:\n"
cat .env
printf "Started script:\n"
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|SERVER|TOKEN|PIN|URL/"}
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|PIN|URL/"}
printf "Creating an .env file with the following whitelist:\n"
printf "%s\n\n" $ENV_WHITELIST
set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" | egrep -v "USER-DEFINED" > .env