Skip to content

Commit

Permalink
change delimitator on sed
Browse files Browse the repository at this point in the history
  • Loading branch information
sandromello committed Oct 27, 2022
1 parent c1167e5 commit f72db18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/app/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

# change which API to call in the UI on runtime
if [[ "$API_URL" != "" ]]; then
sed "s/http:\/\/localhost:8009/$API_URL/g" -i app/ui/public/js/app.js
sed "s|http://localhost:8009|$API_URL|g" -i app/ui/public/js/app.js
fi

"${@}"
"${@}"

0 comments on commit f72db18

Please sign in to comment.