mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 11:10:48 +02:00
fix localIP
This commit is contained in:
parent
f51496fa2e
commit
023cf57a02
@ -100,6 +100,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo -u ${APPID} git clone ${GITHUB_REPO_UI} /home/${APPID}/${APPID}-ui
|
||||
|
||||
# Modify the environment.prod.ts file of WebUI
|
||||
localIP=$(hostname -I | awk '{print $1}')
|
||||
echo "# Updating environment.prod.ts with correct API and STRATUM URLs"
|
||||
sudo -u ${APPID} tee /home/${APPID}/${APPID}-ui/src/environments/environment.prod.ts > /dev/null << EOL
|
||||
export const environment = {
|
||||
|
Loading…
Reference in New Issue
Block a user