mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-04 20:15:51 +03:00
pre-build
This commit is contained in:
parent
b9ae266efa
commit
012356ced5
@ -3,7 +3,7 @@
|
|||||||
printf "Old .env file:\n"
|
printf "Old .env file:\n"
|
||||||
cat .env
|
cat .env
|
||||||
printf "Started script:\n"
|
printf "Started script:\n"
|
||||||
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|URL/"}
|
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|PIN|URL/"}
|
||||||
printf "Creating an .env file with the following whitelist:\n"
|
printf "Creating an .env file with the following whitelist:\n"
|
||||||
printf "%s\n\n" $ENV_WHITELIST
|
printf "%s\n\n" $ENV_WHITELIST
|
||||||
set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" | egrep -v "USER-DEFINED" > .env
|
set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" | egrep -v "USER-DEFINED" > .env
|
||||||
|
Loading…
Reference in New Issue
Block a user