We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a0c1b commit f4e51bfCopy full SHA for f4e51bf
1 file changed
apps/site/scripts/orama-search/sync-orama-cloud.mjs
@@ -6,11 +6,11 @@ import { ORAMA_SYNC_BATCH_SIZE } from '../../next.constants.mjs';
6
// The following follows the instructions at https://docs.orama.com/cloud/data-sources/custom-integrations/webhooks
7
8
const orama = new OramaCloud({
9
- projectId: process.env.ORAMA_PROJECT_ID || '',
10
- apiKey: process.env.ORAMA_API_KEY || '',
+ projectId: process.env.NEW_ORAMA_PROJECT_ID || '',
+ apiKey: process.env.NEW_ORAMA_API_KEY || '',
11
});
12
13
-const datasource = orama.dataSource(process.env.ORAMA_DATASOURCE_ID || '');
+const datasource = orama.dataSource(process.env.NEW_ORAMA_DATASOURCE_ID || '');
14
15
console.log(`Syncing ${siteContent.length} documents to Orama Cloud index`);
16
0 commit comments