Skip to content

Commit fbe26fd

Browse files
shortcutsfacebook-github-bot
authored andcommitted
fix(website): add Algolia search API key (#726)
Summary: **Summary** This PR update the docusaurus config to expose the Algolia search API key. _note: Algolia search API keys can be disclosed publicly_ **Motivation** Search does not work on the production website. **Test plan** - `cd website` - `yarn start` - Search Pull Request resolved: #726 Reviewed By: motiz88 Differential Revision: D34105655 Pulled By: rh389 fbshipit-source-id: 6a9fda7e92ff27ddbf5212cca72c138ec3672f56
1 parent 02baeb6 commit fbe26fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/docusaurus.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ const siteConfig = {
9494
},
9595
image: 'img/opengraph.png',
9696
algolia: {
97-
apiKey: process.env.ALGOLIA_METRO_API_KEY || ' ',
97+
apiKey: 'd51e7fbd21ccab3db4c83f0f736f6a3a',
98+
appId: 'T38HJZTD87',
9899
indexName: 'metro',
99100
},
100101
gtag: {

0 commit comments

Comments
 (0)