Skip to content

Commit fe9aebe

Browse files
committed
getOrganizationEndpoints
1 parent 626cf84 commit fe9aebe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"main": "src/index.tsx",
99
"dependencies": {
10-
"@coveo/headless": "2.0.1",
10+
"@coveo/headless": "2.12.0",
1111
"@emotion/react": "^11.10.5",
1212
"@emotion/styled": "^11.10.5",
1313
"@fontsource/roboto": "^4.5.8",

src/Engine.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import { buildSearchEngine, buildContext } from "@coveo/headless";
1+
import { buildSearchEngine, buildContext, getOrganizationEndpoints } from "@coveo/headless";
22

33
const headlessEngine = buildSearchEngine({
44
configuration: {
55
organizationId: "barcagroupproductionkwvdy6lp",
66
accessToken: "xx5a7943ef-ea52-42e5-8742-51198cc651f7",
7+
organizationEndpoints: getOrganizationEndpoints('barcagroupproductionkwvdy6lp')
78
},
89
});
910

0 commit comments

Comments
 (0)