mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-25 12:42:12 +08:00
Update config.go
This commit is contained in:
parent
c1504d06bd
commit
5b1d075454
@ -149,7 +149,7 @@ type config struct {
|
||||
|
||||
func init() {
|
||||
path, _ := os.Getwd()
|
||||
bytes, err := ioutil.ReadFile("../config/config.yaml")
|
||||
bytes, err := ioutil.ReadFile(path + "/config/config.yaml")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user