🐛修复配置文件读取失败
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-05-08 15:18:41 +08:00
parent 9611b35950
commit 735cfbf7ef

View File

@ -33,7 +33,7 @@ func Init() {
// initConfig
// @description: 初始化配置
func initConfig() {
configBytes, err := os.ReadFile("app.yaml")
configBytes, err := os.ReadFile("./app.yaml")
if err != nil {
log.Panicf("读取配置文件失败: %v", err.Error())
}