songxiaohang hai 1 ano
pai
achega
fd3b7fcf3b
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/cmd/api/api.go
  2. 0 0
      app/cmd/api/etc/api.yaml

+ 1 - 1
app/cmd/api/api.go

@@ -12,7 +12,7 @@ import (
 	"github.com/zeromicro/go-zero/rest"
 )
 
-var configFile = flag.String("f", "etc/datacenter.yaml", "the config file")
+var configFile = flag.String("f", "etc/api.yaml", "the config file")
 
 func main() {
 	flag.Parse()

+ 0 - 0
app/cmd/api/etc/datacenter.yaml → app/cmd/api/etc/api.yaml