mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
ws modify
This commit is contained in:
parent
0e69f7953a
commit
8c0a94c31c
@ -3,7 +3,6 @@ package config
|
||||
import (
|
||||
"gopkg.in/yaml.v3"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
)
|
||||
|
||||
var Config config
|
||||
@ -148,8 +147,8 @@ type config struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
path, _ := os.Getwd()
|
||||
bytes, err := ioutil.ReadFile(path + "/config/config.yaml")
|
||||
//path, _ := os.Getwd()
|
||||
bytes, err := ioutil.ReadFile("../config/config.yaml")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user