You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add example that shows how to set the host to the EU endpoint (#3662)
* Update index.md
We're facing a lot of confusion from customers on how to change the host to point towards to EU. Usually when we show them a code example they understand.
* Update src/connections/sources/catalog/libraries/server/node/index.md
Co-authored-by: markzegarelli <[email protected]>
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/server/node/index.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,15 @@ This will create an instance of `Analytics` that you can use to send data to Seg
35
35
### Regional configuration
36
36
For Business plans with access to [Regional Segment](/docs/guides/regional-segment), you can use the `host` configuration parameter to send data to the desired region:
37
37
1. Oregon (Default) — `api.segment.io/v1`
38
-
2. Dublin — `events.eu1.segmentapis.com/v1/`
38
+
2. Dublin — `events.eu1.segmentapis.com`
39
+
40
+
An example of setting the host to the EU endpoint using the Node library would be:
0 commit comments