From 5b1d075454c1c34b47355b89d0de5265d193b0c3 Mon Sep 17 00:00:00 2001 From: antcorp <527455294@qq.com> Date: Thu, 14 Oct 2021 08:36:15 +0800 Subject: [PATCH] Update config.go --- src/common/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config/config.go b/src/common/config/config.go index 951663a2d..441a2127f 100644 --- a/src/common/config/config.go +++ b/src/common/config/config.go @@ -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