Fix config for RPC port and default configPath

This commit is contained in:
Vsevolod Brekelov 2019-08-30 11:22:11 +03:00
parent 223084925a
commit b43b4497cc
2 changed files with 4 additions and 3 deletions

View file

@ -54,7 +54,7 @@ func startServer(ctx *cli.Context) error {
grace, cancel := context.WithCancel(newGraceContext())
defer cancel()
configPath := "../config"
configPath := "./config"
if argCp := ctx.String("config-path"); argCp != "" {
configPath = argCp
}