1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 23:16:11 +08:00
Files
kubo/config/api.go
Juan Batiz-Benet b73f2d531d go-ipfs-config: Added API + Gateway support for arbitrary HTTP headers
This commit fixes + improves CORS support

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-28 23:08:09 -07:00

6 lines
109 B
Go

package config
type API struct {
HTTPHeaders map[string][]string // HTTP headers to return with the API.
}