Last active
August 16, 2021 10:58
-
-
Save yorickshan/42514505bd6ac6eeaf9e71c9e2176305 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "export const host = '"`ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"`"';" > ./env.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment