mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 19:51:39 +00:00
Fix static peer on Ygg demo build
This commit is contained in:
parent
b21fad92e5
commit
d03f6ac725
@ -59,6 +59,9 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
ygg.SetMulticastEnabled(true)
|
ygg.SetMulticastEnabled(true)
|
||||||
|
if instancePeer != nil && *instancePeer != "" {
|
||||||
|
ygg.SetStaticPeer(*instancePeer)
|
||||||
|
}
|
||||||
|
|
||||||
cfg := &config.Dendrite{}
|
cfg := &config.Dendrite{}
|
||||||
cfg.SetDefaults()
|
cfg.SetDefaults()
|
||||||
|
Loading…
Reference in New Issue
Block a user