mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 05:52:20 +08:00
add version info endpoint to gateway
This commit is contained in:
@ -208,6 +208,7 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
|
||||
if gatewayMaddr != nil {
|
||||
go func() {
|
||||
var opts = []corehttp.ServeOption{
|
||||
corehttp.VersionOption(),
|
||||
corehttp.IPNSHostnameOption(),
|
||||
corehttp.GatewayOption(writable),
|
||||
}
|
||||
|
Reference in New Issue
Block a user