mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 06:58:27 +00:00
Set version in generate-config
This commit is contained in:
parent
abbbbbb2b4
commit
81ac9bb440
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ func main() {
|
|||
dbURI := flag.String("db", "", "The DB URI to use for all components if not SQLite files")
|
||||
flag.Parse()
|
||||
|
||||
cfg := &config.Dendrite{}
|
||||
cfg := &config.Dendrite{
|
||||
Version: config.Version,
|
||||
}
|
||||
cfg.Defaults(true)
|
||||
if *serverName != "" {
|
||||
cfg.Global.ServerName = gomatrixserverlib.ServerName(*serverName)
|
||||
|
|
Loading…
Reference in a new issue