diff --git a/http/controller/admin/config.go b/http/controller/admin/config.go index 6c830e5..f4e7e30 100644 --- a/http/controller/admin/config.go +++ b/http/controller/admin/config.go @@ -78,11 +78,13 @@ func (co *Config) AdminConfig(c *gin.Context) { } hello := global.Config.Admin.Hello - helloFile := global.Config.Admin.HelloFile - if helloFile != "" { - b, err := os.ReadFile(helloFile) - if err == nil && len(b) > 0 { - hello = string(b) + if hello == "" { + helloFile := global.Config.Admin.HelloFile + if helloFile != "" { + b, err := os.ReadFile(helloFile) + if err == nil && len(b) > 0 { + hello = string(b) + } } }