mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28: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")
|
dbURI := flag.String("db", "", "The DB URI to use for all components if not SQLite files")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
cfg := &config.Dendrite{}
|
cfg := &config.Dendrite{
|
||||||
|
Version: config.Version,
|
||||||
|
}
|
||||||
cfg.Defaults(true)
|
cfg.Defaults(true)
|
||||||
if *serverName != "" {
|
if *serverName != "" {
|
||||||
cfg.Global.ServerName = gomatrixserverlib.ServerName(*serverName)
|
cfg.Global.ServerName = gomatrixserverlib.ServerName(*serverName)
|
||||||
|
|
Loading…
Reference in a new issue