- 修复配置文件路径错误:etc/photographyapi-api.yaml -> etc/photography-api.yaml - 修复Dockerfile未包含配置文件的问题 - 确保后端服务容器能正确加载配置文件 修复了容器启动时报'config file etc/photographyapi-api.yaml: no such file or directory'的错误
This commit is contained in:
@ -13,7 +13,7 @@ import (
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
)
|
||||
|
||||
var configFile = flag.String("f", "etc/photographyapi-api.yaml", "the config file")
|
||||
var configFile = flag.String("f", "etc/photography-api.yaml", "the config file")
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
Reference in New Issue
Block a user