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