We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 626cf84 commit fe9aebeCopy full SHA for fe9aebe
package.json
@@ -7,7 +7,7 @@
7
],
8
"main": "src/index.tsx",
9
"dependencies": {
10
- "@coveo/headless": "2.0.1",
+ "@coveo/headless": "2.12.0",
11
"@emotion/react": "^11.10.5",
12
"@emotion/styled": "^11.10.5",
13
"@fontsource/roboto": "^4.5.8",
src/Engine.tsx
@@ -1,9 +1,10 @@
1
-import { buildSearchEngine, buildContext } from "@coveo/headless";
+import { buildSearchEngine, buildContext, getOrganizationEndpoints } from "@coveo/headless";
2
3
const headlessEngine = buildSearchEngine({
4
configuration: {
5
organizationId: "barcagroupproductionkwvdy6lp",
6
accessToken: "xx5a7943ef-ea52-42e5-8742-51198cc651f7",
+ organizationEndpoints: getOrganizationEndpoints('barcagroupproductionkwvdy6lp')
},
});
0 commit comments