mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
copy over info
This commit is contained in:
parent
0d71cde941
commit
d1d5b02f27
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ func (c *Croc) Send(fname string, codePhrase string) (err error) {
|
|||
go d.startServer()
|
||||
e := Init()
|
||||
e.WebsocketAddress = "ws://127.0.0.1:8140"
|
||||
// copy over the information
|
||||
c.cs.Lock()
|
||||
e.cs.Lock()
|
||||
e.cs.channel.codePhrase = codePhrase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue