Skip to content

Instantly share code, notes, and snippets.

@andrewpetrochenkov
Last active August 16, 2024 15:36
Show Gist options
  • Save andrewpetrochenkov/b8306d2f406a43e3958a5b04267b8f72 to your computer and use it in GitHub Desktop.
Save andrewpetrochenkov/b8306d2f406a43e3958a5b04267b8f72 to your computer and use it in GitHub Desktop.
ngrok #ngrok
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