@cryptotaxi247 / kubo / commits / da44c9f7a

docs: Gateway.HTTPHeaders

Marcin Rataj committed Jun 30, 2023 at 03:49 UTC da44c9f7a1edcbce1308fc0b7ee9ee5e47a40d9d
1 file changed +1 -14
docs/config.md
+1 -14
@@ -663,20 +663,7 @@ Type: `flag`
663
664 Headers to set on gateway responses.
665
666 -Default:
667 -```json
668 -{
669 - "Access-Control-Allow-Headers": [
670 - "X-Requested-With"
671 - ],
672 - "Access-Control-Allow-Methods": [
673 - "GET"
674 - ],
675 - "Access-Control-Allow-Origin": [
676 - "*"
677 - ]
678 -}
679 -```
666 +Default: `{}` + implicit CORS headers from `boxo/gateway#AddAccessControlHeaders` and [ipfs/specs#423](https://github.com/ipfs/specs/issues/423)
667
668 Type: `object[string -> array[string]]`
669