mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
docs: Gateway.HTTPHeaders
This commit is contained in:
parent
394d72db4c
commit
da44c9f7a1
@ -663,20 +663,7 @@ Type: `flag`
|
||||
|
||||
Headers to set on gateway responses.
|
||||
|
||||
Default:
|
||||
```json
|
||||
{
|
||||
"Access-Control-Allow-Headers": [
|
||||
"X-Requested-With"
|
||||
],
|
||||
"Access-Control-Allow-Methods": [
|
||||
"GET"
|
||||
],
|
||||
"Access-Control-Allow-Origin": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
```
|
||||
Default: `{}` + implicit CORS headers from `boxo/gateway#AddAccessControlHeaders` and [ipfs/specs#423](https://github.com/ipfs/specs/issues/423)
|
||||
|
||||
Type: `object[string -> array[string]]`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user