Skip to content

Commit

Permalink
Fix signup UI build fail (#98)
Browse files Browse the repository at this point in the history
* Fix fail build

Signed-off-by: Sreang Rathanak <[email protected]>

* Fix fail build

Signed-off-by: Sreang Rathanak <[email protected]>

---------

Signed-off-by: Sreang Rathanak <[email protected]>
Co-authored-by: Sreang Rathanak <[email protected]>
  • Loading branch information
rathanak-0080 and Sreang Rathanak authored Mar 13, 2024
1 parent 3b64e48 commit e2a9762
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions signup-ui/configure_start.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,7 @@ unzip -o esignet-signup-i18n-bundle.zip

echo "Pre-requisites download completed."

echo "Replacing public url placeholder with public url"

workingDir=$nginx_dir/html
if [ -z "$SIGNUP_UI_PUBLIC_URL" ]; then
rpCmd="s/_PUBLIC_URL_//g"
grep -rl '_PUBLIC_URL_' $workingDir | xargs sed -i $rpCmd
else
workingDir=$nginx_dir/${SIGNUP_UI_PUBLIC_URL}
mkdir $workingDir
mv -v $nginx_dir/html/* $workingDir/
rpCmd="s/_PUBLIC_URL_/\/${SIGNUP_UI_PUBLIC_URL}/g"
grep -rl '_PUBLIC_URL_' $workingDir | xargs sed -i $rpCmd
fi

echo "Replacing completed."

echo "generating env-config file"

Expand Down

0 comments on commit e2a9762

Please sign in to comment.