Skip to content

Commit 133db15

Browse files
committed
doc
1 parent e15e6cd commit 133db15

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

document/update-index.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ async function main() {
99
/** @type {import('fumadocs-core/search/algolia').DocumentRecord[]} **/
1010
const records = JSON.parse(content.toString());
1111

12-
if (!process.env.NEXT_PUBLIC_SEARCH_APPID || !process.env.SEARCH_APPWRITEKEY) {
12+
console.log({
13+
NEXT_PUBLIC_SEARCH_APPID: process.env.NEXT_PUBLIC_SEARCH_APPID,
14+
SEARCH_APPWRITEKEY: process.env.SEARCH_APPWRITEKEY,
15+
SEARCH_APPWRITEKEY: process.env.SEARCH_APPWRITEKEY
16+
})
17+
18+
if (!process.env.NEXT_PUBLIC_SEARCH_APPID || !process.env.SEARCH_APPWRITEKEY || !process.env.SEARCH_APPWRITEKEY) {
1319
console.log('NEXT_PUBLIC_SEARCH_APPID or SEARCH_APPWRITEKEY is not set');
1420
return;
1521
}

0 commit comments

Comments
 (0)