forked from genofire/unified-push-xmpp
distributor: drop gateway on default config
This commit is contained in:
parent
e2562c93c2
commit
caf4ccb205
|
@ -44,7 +44,6 @@ func main() {
|
|||
configPath = defaultPath(configPath, "config.toml")
|
||||
if err := file.ReadTOML(configPath, config); err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
config.XMPP.Gateway = "up.chat.sum7.eu"
|
||||
if err := file.SaveTOML(configPath, config); err != nil {
|
||||
log.Panicf("save example config file: %s", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue