mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Fix static peer on Ygg demo build
This commit is contained in:
parent
b21fad92e5
commit
d03f6ac725
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
ygg.SetMulticastEnabled(true)
|
||||
if instancePeer != nil && *instancePeer != "" {
|
||||
ygg.SetStaticPeer(*instancePeer)
|
||||
}
|
||||
|
||||
cfg := &config.Dendrite{}
|
||||
cfg.SetDefaults()
|
||||
|
|
Loading…
Reference in a new issue