1
0
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:
Jeromy
2015-02-20 11:49:48 -08:00
parent 080c0de9af
commit 69e09d40c5
3 changed files with 14 additions and 1 deletions

View File

@ -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),
}