Skip to content

Commit 753332e

Browse files
author
Tim Stahel
committed
move VersionOption after GatewayOption to fix #5422
1 parent 78a32f2 commit 753332e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ipfs/daemon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,9 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
544544
corehttp.MetricsCollectionOption("gateway"),
545545
corehttp.CheckVersionOption(),
546546
corehttp.CommandsROOption(*cctx),
547-
corehttp.VersionOption(),
548547
corehttp.IPNSHostnameOption(),
549548
corehttp.GatewayOption(writable, "/ipfs", "/ipns"),
549+
corehttp.VersionOption(),
550550
}
551551

552552
if len(cfg.Gateway.RootRedirect) > 0 {

0 commit comments

Comments
 (0)