mirror of https://github.com/schollz/croc.git
dont encrypt for local transfer
This commit is contained in:
parent
95bec30262
commit
13b7f4afcb
1
main.go
1
main.go
|
@ -104,6 +104,7 @@ func main() {
|
||||||
fmt.Println("running relay on local address " + GetLocalIP())
|
fmt.Println("running relay on local address " + GetLocalIP())
|
||||||
appOptions.Relay = true
|
appOptions.Relay = true
|
||||||
appOptions.Server = GetLocalIP()
|
appOptions.Server = GetLocalIP()
|
||||||
|
appOptions.DontEncrypt = true
|
||||||
r := NewRelay(appOptions)
|
r := NewRelay(appOptions)
|
||||||
go r.Run()
|
go r.Run()
|
||||||
appOptions.Code = "8-local"
|
appOptions.Code = "8-local"
|
||||||
|
|
Loading…
Reference in New Issue