提交 7c49dd16 作者: Tim Stahel

move VersionOption after GatewayOption to fix #5422

License: MIT
Signed-off-by: 's avatarTim Stahel <git@swedneck.xyz>
上级 78a32f2e
......@@ -544,9 +544,9 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
corehttp.MetricsCollectionOption("gateway"),
corehttp.CheckVersionOption(),
corehttp.CommandsROOption(*cctx),
corehttp.VersionOption(),
corehttp.IPNSHostnameOption(),
corehttp.GatewayOption(writable, "/ipfs", "/ipns"),
corehttp.VersionOption(),
}
if len(cfg.Gateway.RootRedirect) > 0 {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论