mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 01:52:26 +08:00
Merge pull request #2065 from ipfs/feat/gateway-get
add 'get' to the allowed gateway commands
This commit is contained in:
@ -137,6 +137,7 @@ var rootROSubcommands = map[string]*cmds.Command{
|
|||||||
},
|
},
|
||||||
"cat": CatCmd,
|
"cat": CatCmd,
|
||||||
"commands": CommandsDaemonROCmd,
|
"commands": CommandsDaemonROCmd,
|
||||||
|
"get": GetCmd,
|
||||||
"ls": LsCmd,
|
"ls": LsCmd,
|
||||||
"name": &cmds.Command{
|
"name": &cmds.Command{
|
||||||
Subcommands: map[string]*cmds.Command{
|
Subcommands: map[string]*cmds.Command{
|
||||||
@ -149,6 +150,7 @@ var rootROSubcommands = map[string]*cmds.Command{
|
|||||||
"links": objectLinksCmd,
|
"links": objectLinksCmd,
|
||||||
"get": objectGetCmd,
|
"get": objectGetCmd,
|
||||||
"stat": objectStatCmd,
|
"stat": objectStatCmd,
|
||||||
|
"patch": objectPatchCmd,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"refs": RefsROCmd,
|
"refs": RefsROCmd,
|
||||||
|
Reference in New Issue
Block a user