Fix config for RPC port and default configPath
This commit is contained in:
parent
223084925a
commit
b43b4497cc
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue