🎨
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
coward 2024-05-08 15:37:52 +08:00
parent 735cfbf7ef
commit d14fdfab4d

View File

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