jerson / pgrok

Free Introspected tunnels to localhost, like ngrok but free and unlimited

Home Page:https://hub.docker.com/r/jerson/pgrok

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

server_addr is ignored in ~/.pgrok config

synchrone opened this issue · comments

in https://github.com/jerson/pgrok/blob/master/client/config.go#L83 if opts.serveraddr != "" { is always true, because https://github.com/jerson/pgrok/blob/master/client/cli.go#L121 has defaultServerAddr set.

Hence, no matter what's written in ~/.pgrok as server_addr - it will be ignored.

mmm thats true, my bad i will replace this on my next commits or maybe if you have some time you can help me with the PR, thanks for report the issue