Skip to content

Commit b886427

Browse files
Update custom-proxy.md
Fixing the CDN proxy snippet to the version that actually works
1 parent ff2e4e1 commit b886427

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you're a snippet user, you need to modify the [analytics snippet](/docs/getti
6868
To proxy settings and destination requests that typically go to `https://cdn.segment.com`, replace:
6969
```diff
7070
- t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js"
71-
+ t.src="https://MY-CUSTOM-CDN-PROXY.com" + key + "/analytics.min.js"
71+
+ t.src="https://MY-CUSTOM-CDN-PROXY.com/analytics.js/v1/" + key + "/analytics.min.js"
7272
```
7373

7474
To proxy tracking calls that typically go to `api.segment.io/v1`, replace:

0 commit comments

Comments
 (0)