mirror of
https://github.com/openziti/zrok.git
synced 2025-06-21 18:21:34 +02:00
automatically set the target of a 'socks' backend to the text 'socks'
This commit is contained in:
parent
88eb7a40de
commit
4fe29d73f9
@ -99,6 +99,7 @@ func (cmd *sharePrivateCommand) run(_ *cobra.Command, args []string) {
|
|||||||
if len(args) != 0 {
|
if len(args) != 0 {
|
||||||
tui.Error("the 'socks' backend mode does not expect <target>", nil)
|
tui.Error("the 'socks' backend mode does not expect <target>", nil)
|
||||||
}
|
}
|
||||||
|
target = "socks"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
tui.Error(fmt.Sprintf("invalid backend mode '%v'; expected {proxy, web, tcpTunnel, udpTunnel, caddy, drive}", cmd.backendMode), nil)
|
tui.Error(fmt.Sprintf("invalid backend mode '%v'; expected {proxy, web, tcpTunnel, udpTunnel, caddy, drive}", cmd.backendMode), nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user