Skip to content
Snippets Groups Projects
Commit 971fd921 authored by M9713's avatar M9713
Browse files

Update public_ip.sh

parent 1ff0f1a7
No related branches found
No related tags found
No related merge requests found
Pipeline #557308 skipped
IP=$(curl https://api.ipify.org)
echo "REACT_APP_API_ROOT=$IP":30000/api > .env
# echo "REACT_APP_API_ROOT=$IP":30000 > .env
sed -i "s/localhost/"$IP"/g" src/agent.js
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment