docs: Add that `response_headers` also affects the UI (#7376)

pull/7398/head
John Cowen 2020-03-05 12:06:35 +00:00 committed by GitHub
parent a24e431c0e
commit 4befec8f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1339,7 +1339,7 @@ Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'."
This must be provided along with [`cert_file`](#cert_file).
* <a name="http_config"></a><a href="#http_config">`http_config`</a>
This object allows setting options for the HTTP API.
This object allows setting options for the HTTP API and UI.
The following sub-keys are available:
@ -1357,7 +1357,7 @@ Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'."
is available in Consul 0.9.0 and later.
* <a name="response_headers"></a><a href="#response_headers">`response_headers`</a>
This object allows adding headers to the HTTP API responses.
This object allows adding headers to the HTTP API and UI responses.
For example, the following config can be used to enable
[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) on
the HTTP API endpoints: