mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
config file update
This commit is contained in:
parent
526aa15ff6
commit
6734c714d7
@ -512,8 +512,7 @@ type PDefaultTips struct {
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
cfgName := os.Getenv("CONFIG_NAME")
|
cfgName := os.Getenv("CONFIG_NAME")
|
||||||
fmt.Println("GET IM CONFIG PATH :", Root, cfgName)
|
fmt.Println("GET IM DEFAULT CONFIG PATH :", Root, "ENV PATH:", cfgName, b, filepath.Dir(b))
|
||||||
|
|
||||||
if len(cfgName) != 0 {
|
if len(cfgName) != 0 {
|
||||||
Root = cfgName
|
Root = cfgName
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user