mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
always require code
This commit is contained in:
parent
7f423cda26
commit
551160d601
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ func (c *Croc) Receive(codePhrase string) (err error) {
|
|||
c.WebsocketAddress = "ws://" + discovered[0].Address + ":8140"
|
||||
c.isLocal = true
|
||||
log.Debug(discovered[0].Address)
|
||||
codePhrase = string(discovered[0].Payload)
|
||||
// codePhrase = string(discovered[0].Payload)
|
||||
} else {
|
||||
log.Debug("but could not connect to ports")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue