From a71db7e940aed87abbf6fbcdbe02fa8f084dcf1e Mon Sep 17 00:00:00 2001 From: g-pan Date: Tue, 26 Sep 2023 09:57:40 -0400 Subject: [PATCH] HPCC-28033 Document CORS Section of values.yaml Signed-off-by: g-pan --- .../ContainerizedMods/ConfigureValues.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml b/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml index 543b771a152..e7349941fa8 100644 --- a/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml +++ b/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml @@ -1030,10 +1030,8 @@ thor: Cross-origin resource sharing (CORS) is a mechanism for integrating applications in different domains. CORS defines how client web applications in one domain can interact with resources in another - domain. As a further enhancement to HPCC Systems we've added support - to allow the configuration of CORS access settings to the ESP section - of the values.yaml file. These CORS support settings can be configured - as illustrated in the following example. + domain. You can configure CORS support settings in the ESP section of + the values.yaml file as illustrated below: esp: - name: eclwatch @@ -1047,9 +1045,9 @@ thor: # corsAllowed: # origin starting with https will only allow https CORS - - origin: https://*.my.com + - origin: https://*.example2.com headers: - - "X-X" + - "X-Custom-Header" methods: - "GET" # origin starting with http will allow http or https CORS