mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
update address
This commit is contained in:
parent
a87612049d
commit
fd7d035087
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -21,7 +21,7 @@ func main() {
|
||||||
c, err := croc.New(croc.Options{
|
c, err := croc.New(croc.Options{
|
||||||
IsSender: true,
|
IsSender: true,
|
||||||
SharedSecret: "test1",
|
SharedSecret: "test1",
|
||||||
RelayAddress: "ws://localhost:8005/ws",
|
RelayAddress: "wss://testcroc.schollz.com/ws",
|
||||||
Debug: true,
|
Debug: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -35,7 +35,7 @@ func main() {
|
||||||
c, err := croc.New(croc.Options{
|
c, err := croc.New(croc.Options{
|
||||||
IsSender: false,
|
IsSender: false,
|
||||||
SharedSecret: "test1",
|
SharedSecret: "test1",
|
||||||
RelayAddress: "ws://localhost:8005/ws",
|
RelayAddress: "wss://testcroc.schollz.com/ws",
|
||||||
Debug: true,
|
Debug: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue