mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (#25849)
Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
parent
400ab0d94f
commit
6215b92523
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ var (
|
||||||
Value: strings.Join(node.DefaultConfig.AuthVirtualHosts, ","),
|
Value: strings.Join(node.DefaultConfig.AuthVirtualHosts, ","),
|
||||||
Category: flags.APICategory,
|
Category: flags.APICategory,
|
||||||
}
|
}
|
||||||
JWTSecretFlag = &cli.StringFlag{
|
JWTSecretFlag = &flags.DirectoryFlag{
|
||||||
Name: "authrpc.jwtsecret",
|
Name: "authrpc.jwtsecret",
|
||||||
Usage: "Path to a JWT secret to use for authenticated RPC endpoints",
|
Usage: "Path to a JWT secret to use for authenticated RPC endpoints",
|
||||||
Category: flags.APICategory,
|
Category: flags.APICategory,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue