From 20af388f160cddc2e0f48eaf727601382a4a92e1 Mon Sep 17 00:00:00 2001 From: Ashton Huxtable <78318468+ashton-huxtable@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:51:49 -0600 Subject: [PATCH 1/2] Add note to restore API host --- .../catalog/libraries/website/javascript/custom-proxy.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md b/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md index 3a55e232b5..b401c401ac 100644 --- a/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md +++ b/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md @@ -247,3 +247,7 @@ analytics.load({ cdnSettings: {...} // object from https://cdn.segment.com/v1/projects//settings' }) ``` + +## Restore the API Host to the Segment Default + +If you wish to restore the proxied API host to it's original value, navigate to the Source >> Settings >> Analytis.js tab, and then scroll down until you see the Host address field. Under the field, there will be small blue text that says 'Restore to a default value'. Click 'Restore' and then the 'Save' button. Any changes made to the CDN host must be update manually in your code. From 2536370ca1648e1652c50d9da0348255c575338e Mon Sep 17 00:00:00 2001 From: forstisabella <92472883+forstisabella@users.noreply.github.com> Date: Tue, 1 Oct 2024 20:15:39 -0400 Subject: [PATCH 2/2] Update src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md --- .../catalog/libraries/website/javascript/custom-proxy.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md b/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md index b401c401ac..fffc618375 100644 --- a/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md +++ b/src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md @@ -248,6 +248,11 @@ analytics.load({ }) ``` -## Restore the API Host to the Segment Default +## Restore the API host to the Segment default -If you wish to restore the proxied API host to it's original value, navigate to the Source >> Settings >> Analytis.js tab, and then scroll down until you see the Host address field. Under the field, there will be small blue text that says 'Restore to a default value'. Click 'Restore' and then the 'Save' button. Any changes made to the CDN host must be update manually in your code. +If you wish to restore the proxied API host to it's original value: +1. Navigate to the **Source > Settings > Analytis.js tab** +2. Scroll down until you see the Host address field. +3. Under the field, there is a small blue text that says 'Restore to a default value'. Click **Restore** and then **Save**. + +Any changes made to the CDN host must be update manually in your code.