0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 04:33:44 +01:00

Fix addresses

This commit is contained in:
Till Faelligen 2021-05-30 15:11:28 +02:00
parent f6b5b2c52f
commit 1c430f4552

View file

@ -51,9 +51,9 @@ func (c *Kafka) Defaults() {
c.Database.Defaults()
if c.UseNATS {
c.UseNaffka = false
c.Addresses = []string{"localhost:2181"}
} else {
c.Addresses = []string{"nats://127.0.0.1:4222"}
} else {
c.Addresses = []string{"localhost:2181"}
}
c.Database.ConnectionString = DataSource("file:naffka.db")
c.TopicPrefix = "Dendrite"