mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
go-ipfs-config: repo/config: Added Gateway options to config
This commit is contained in:
parent
69d7848d2e
commit
2217c97632
@ -23,6 +23,7 @@ type Config struct {
|
||||
Version Version // local node's version management
|
||||
Bootstrap []BootstrapPeer // local nodes's bootstrap peers
|
||||
Tour Tour // local node's tour position
|
||||
Gateway Gateway // local node's gateway server options
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
6
config/gateway.go
Normal file
6
config/gateway.go
Normal file
@ -0,0 +1,6 @@
|
||||
package config
|
||||
|
||||
// Gateway contains options for the HTTP gateway server.
|
||||
type Gateway struct {
|
||||
RootRedirect string
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user