Skip to content

Commit b766eac

Browse files
committed
fix(docs): reverted algolia key
1 parent 56516a0 commit b766eac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

theme/fetch-ai-docs/components/instant-algolia-search.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import { useTheme } from "next-themes";
1919
import { ThemeMode } from "../helpers";
2020

2121
const searchClient = algoliasearch(
22-
`4MNO2TMYQ5`, //4MNO2TMYQ5
23-
`79f05f43517b76c1b8af1c6c667dbaba`,
22+
`${process.env.NEXT_PUBLIC_ALGOLIA_APP_ID}`,
23+
`${process.env.NEXT_PUBLIC_ALGOLIA_API_KEY}`,
2424
);
25-
const indexName = `Fetch ai Docs`;
25+
const indexName = `${process.env.NEXT_PUBLIC_ALGOLIA_INDEX}`;
2626

2727
const markdownToHTML = (markdownString) => {
2828
return remark().use(remarkHTML).processSync(markdownString).toString();

0 commit comments

Comments
 (0)