mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-27 05:52:29 +08:00
fix: config
This commit is contained in:
parent
12adfa50cc
commit
fb9d8ace88
@ -32,7 +32,7 @@ type ApiCmd struct {
|
||||
}
|
||||
|
||||
func NewApiCmd() *ApiCmd {
|
||||
var apiConfig api.Config
|
||||
apiConfig := api.Config{AllConfig: &config.AllConfig{}}
|
||||
ret := &ApiCmd{apiConfig: &apiConfig}
|
||||
ret.configMap = map[string]any{
|
||||
config.DiscoveryConfigFilename: &apiConfig.Discovery,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user