Skip to content

Commit 7c0d07a

Browse files
authored
fix: env variable (#193)
1 parent 7aeac2a commit 7c0d07a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nginx/start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ fi
44
if [[ ! -z "${AUTH_ENABLED}" ]]; then
55
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_AUTH_ENABLED|$AUTH_ENABLED|g" {} \;
66
fi
7+
if [[ ! -z "${PAYER_SIM_BRAND_ICON}" ]]; then
8+
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_PAYER_SIM_BRAND_ICON|$PAYER_SIM_BRAND_ICON|g" {} \;
9+
fi
710
if [[ ! -z "${PAYEE_SIM_BRAND_ICON}" ]]; then
811
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_PAYEE_SIM_BRAND_ICON|$PAYEE_SIM_BRAND_ICON|g" {} \;
912
fi

0 commit comments

Comments
 (0)