mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-19 12:03:09 -06:00
Fix oversight in cmd/generate-config
The -dir argument was ignored for media_api->base_path.
This commit is contained in:
parent
f2956fc744
commit
715c4529d2
|
|
@ -54,6 +54,7 @@ func main() {
|
||||||
} else {
|
} else {
|
||||||
cfg.Global.DatabaseOptions.ConnectionString = uri
|
cfg.Global.DatabaseOptions.ConnectionString = uri
|
||||||
}
|
}
|
||||||
|
cfg.MediaAPI.BasePath = config.Path(filepath.Join(*dirPath, "media"))
|
||||||
cfg.Logging = []config.LogrusHook{
|
cfg.Logging = []config.LogrusHook{
|
||||||
{
|
{
|
||||||
Type: "file",
|
Type: "file",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue