Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skywire-cli flags for vpn ui and url #1086

Merged
merged 2 commits into from
Feb 8, 2022
Merged

skywire-cli flags for vpn ui and url #1086

merged 2 commits into from
Feb 8, 2022

Conversation

mrpalide
Copy link
Contributor

@mrpalide mrpalide commented Feb 8, 2022

Did you run make format && make check? Yes

Fixes #1079

Changes:

  • added two commands to skywire-cli
    • skywire-cli visor vpn-ui : for running VPN UI on browser
    • skywire-cli visor vpn-url : for getting VPN URL on terminal

How to test this PR:

  • Build on this branch and start a visor.
  • run ./skywire-cli visor vpn-ui to open VPN UI on browser.
  • run ./skywire-cli visor vpn-url to showing VPN URL on termiunal.

if err != nil {
logger.Fatal("Failed to connect:", err)
}
url := fmt.Sprintf("http://127.0.0.1:8000/#/vpn/%s/", overview.PubKey.Hex())
Copy link
Member

@jdknives jdknives Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0pcom is the hardcoded localhost IP here an issue for you? Should we pull this from the config directly?

@jdknives jdknives merged commit 2f797d1 into skycoin:develop Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants