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