mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-16 23:09:01 +08:00
script
This commit is contained in:
@@ -516,8 +516,9 @@ func (c *config) initConfig(config interface{}, configName, configFolderPath str
|
|||||||
}
|
}
|
||||||
configPath = filepath.Join(Root, "config", configName)
|
configPath = filepath.Join(Root, "config", configName)
|
||||||
fmt.Println(configPath, "not exist, use", configPath)
|
fmt.Println(configPath, "not exist, use", configPath)
|
||||||
|
} else {
|
||||||
|
Root = filepath.Dir(configPath)
|
||||||
}
|
}
|
||||||
Root = filepath.Dir(configPath)
|
|
||||||
return c.unmarshalConfig(config, configPath)
|
return c.unmarshalConfig(config, configPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user