Skip to content

Commit

Permalink
fix: env variable (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayg10 authored Aug 28, 2024
1 parent 7aeac2a commit 7c0d07a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ fi
if [[ ! -z "${AUTH_ENABLED}" ]]; then
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_AUTH_ENABLED|$AUTH_ENABLED|g" {} \;
fi
if [[ ! -z "${PAYER_SIM_BRAND_ICON}" ]]; then
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_PAYER_SIM_BRAND_ICON|$PAYER_SIM_BRAND_ICON|g" {} \;
fi
if [[ ! -z "${PAYEE_SIM_BRAND_ICON}" ]]; then
find /usr/share/nginx/html -type f -name "*.*" -exec sed -i -e "s|TTK_PAYEE_SIM_BRAND_ICON|$PAYEE_SIM_BRAND_ICON|g" {} \;
fi
Expand Down

0 comments on commit 7c0d07a

Please sign in to comment.