mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-13 05:39:18 +08:00
script
This commit is contained in:
parent
b9edc90349
commit
4c5210af59
@ -516,8 +516,9 @@ func (c *config) initConfig(config interface{}, configName, configFolderPath str
|
||||
}
|
||||
configPath = filepath.Join(Root, "config", configName)
|
||||
fmt.Println(configPath, "not exist, use", configPath)
|
||||
}
|
||||
} else {
|
||||
Root = filepath.Dir(configPath)
|
||||
}
|
||||
return c.unmarshalConfig(config, configPath)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user