Commit 7c49dd16 authored by Tim Stahel's avatar Tim Stahel

move VersionOption after GatewayOption to fix #5422

License: MIT
Signed-off-by: default avatarTim Stahel <git@swedneck.xyz>
parent 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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment