Skip to content

Commit 517cec0

Browse files
authored
Update custom-proxy.md
1 parent 5d74e71 commit 517cec0

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ To reduce fetching assets from Segment's CDN, you can bundle Analytics.js with y
175175
To bundle Analytics.js with your own code, you can:
176176
* [Use Analytics.js as an npm package](https://github.com/segmentio/analytics-next/tree/master/packages/browser#-using-as-an-npm-package){:target="_blank"}.
177177

178-
* [Use npm to bundle your destinations ](/docs/connections/sources/catalog/libraries/website/javascript/#add-destinations-from-npm) with your own code instead of fetching them from the CDN.
178+
* [Use npm to bundle your destinations](/docs/connections/sources/catalog/libraries/website/javascript/#add-destinations-from-npm) with your own code instead of fetching them from the CDN.
179179

180-
* Hardcode your settings instead of fetching from the CDN (not recommended -- bypass the Segment souce configuration GUI completely).
180+
* Hardcode your settings instead of fetching from the CDN (**not recommended** -- bypass the Segment souce configuration GUI completely).
181181
```ts
182182
// npm-only
183183
export const analytics = new AnalyticsBrowser()
184184
analytics.load({
185185
...
186186
cdnSettings: {...} // object from https://cdn.segment.com/v1/projects/<YOUR_WRITE_KEY>/settings'
187187
})
188-
```
188+
```

0 commit comments

Comments
 (0)