@cryptotaxi247 / kubo / commits / 7c49dd16d

move VersionOption after GatewayOption to fix #5422

License: MIT Signed-off-by: Tim Stahel <git@swedneck.xyz>

Tim Stahel committed Sep 4, 2018 at 15:16 UTC 7c49dd16d07cc0ec171c51dc3e9a8b091449243c
1 file changed +1 -1
cmd/ipfs/daemon.go
+1 -1
@@ -544,9 +544,9 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
544 corehttp.MetricsCollectionOption("gateway"),
545 corehttp.CheckVersionOption(),
546 corehttp.CommandsROOption(*cctx),
547 - corehttp.VersionOption(),
547 corehttp.IPNSHostnameOption(),
548 corehttp.GatewayOption(writable, "/ipfs", "/ipns"),
549 + corehttp.VersionOption(),
550 }
551
552 if len(cfg.Gateway.RootRedirect) > 0 {