mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-19 19:29:52 +08:00
Specify the relative path for the configuration file
This commit is contained in:
parent
83779a684b
commit
1f0040ceb6
@ -578,7 +578,7 @@ func init() {
|
|||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
bytes, err := ioutil.ReadFile(filepath.Join(Root, "config", "config.yaml"))
|
bytes, err := ioutil.ReadFile("../config/config.yaml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user