mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Fix oversight in cmd/generate-config (#2946)
The -dir argument was ignored for media_api->base_path. Signed-off-by: `Bernhard Feichtinger <43303168+BieHDC@users.noreply.github.com>`
This commit is contained in:
parent
ce2bfc3f2e
commit
a2b4860912
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ func main() {
|
||||||
} else {
|
} else {
|
||||||
cfg.Global.DatabaseOptions.ConnectionString = uri
|
cfg.Global.DatabaseOptions.ConnectionString = uri
|
||||||
}
|
}
|
||||||
|
cfg.MediaAPI.BasePath = config.Path(filepath.Join(*dirPath, "media"))
|
||||||
|
cfg.Global.JetStream.StoragePath = config.Path(*dirPath)
|
||||||
|
cfg.SyncAPI.Fulltext.IndexPath = config.Path(filepath.Join(*dirPath, "searchindex"))
|
||||||
cfg.Logging = []config.LogrusHook{
|
cfg.Logging = []config.LogrusHook{
|
||||||
{
|
{
|
||||||
Type: "file",
|
Type: "file",
|
||||||
|
|
Loading…
Reference in a new issue