diff options
-rw-r--r-- | bridge/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index e3b7b52f..290108af 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -68,7 +68,7 @@ type Config struct { func NewConfig(cfgfile string) *Config { var cfg Config - if _, err := toml.DecodeFile("matterbridge.toml", &cfg); err != nil { + if _, err := toml.DecodeFile(cfgfile, &cfg); err != nil { log.Fatal(err) } return &cfg |