diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-02-01 16:03:30 +0000 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-02-01 16:03:30 +0000 |
commit | 9ada4578e36b367c53057c9ee32d044e2ba26395 (patch) | |
tree | a8d7a7afdeaf95865821da6a5e74119f097b2883 /build/gobind-yggdrasil | |
parent | 893aa3b1414f46a44900e7377b5b471cb2aff0f3 (diff) |
Fix JetStream paths for P2P demo builds
Diffstat (limited to 'build/gobind-yggdrasil')
-rw-r--r-- | build/gobind-yggdrasil/monolith.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gobind-yggdrasil/monolith.go b/build/gobind-yggdrasil/monolith.go index 1aae418d..3d9ba8aa 100644 --- a/build/gobind-yggdrasil/monolith.go +++ b/build/gobind-yggdrasil/monolith.go @@ -86,7 +86,7 @@ func (m *DendriteMonolith) Start() { cfg.Global.ServerName = gomatrixserverlib.ServerName(ygg.DerivedServerName()) cfg.Global.PrivateKey = ygg.PrivateKey() cfg.Global.KeyID = gomatrixserverlib.KeyID(signing.KeyID) - cfg.Global.JetStream.StoragePath = config.Path(fmt.Sprintf("file:%s/", m.StorageDirectory)) + cfg.Global.JetStream.StoragePath = config.Path(fmt.Sprintf("%s/", m.StorageDirectory)) cfg.UserAPI.AccountDatabase.ConnectionString = config.DataSource(fmt.Sprintf("file:%s/dendrite-p2p-account.db", m.StorageDirectory)) cfg.UserAPI.DeviceDatabase.ConnectionString = config.DataSource(fmt.Sprintf("file:%s/dendrite-p2p-device.db", m.StorageDirectory)) cfg.MediaAPI.Database.ConnectionString = config.DataSource(fmt.Sprintf("file:%s/dendrite-p2p-mediaapi.db", m.StorageDirectory)) |