Last active
August 16, 2024 15:36
-
-
Save andrewpetrochenkov/b8306d2f406a43e3958a5b04267b8f72 to your computer and use it in GitHub Desktop.
ngrok #ngrok
This file contains 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
ngrok http 8000 | |
yq r ./ngrok.yml tunnels | grep -v ' .*' | sed 's/.$//' #3 names | |
ngrok start -config ./ngrok.yml name | |
# webpack tunnel | |
curl -s http://localhost:4040/api/tunnels | jq '.tunnels[] | select(.name=="webpack")' | jq -r '.public_url' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment