Update config.go

This commit is contained in:
antcorp 2021-10-14 08:36:15 +08:00 committed by GitHub
parent c1504d06bd
commit 5b1d075454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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