Skip to content

Commit

Permalink
fix(website): add Algolia search API key (facebook#726)
Browse files Browse the repository at this point in the history
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: facebook#726

Reviewed By: motiz88

Differential Revision: D34105655

Pulled By: rh389

fbshipit-source-id: 6a9fda7e92ff27ddbf5212cca72c138ec3672f56
  • Loading branch information
shortcuts authored and nevilm-lt committed Apr 22, 2022
1 parent 088bd33 commit c4c3782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docusaurus.config.js
Expand Up @@ -94,7 +94,8 @@ const siteConfig = {
},
image: 'img/opengraph.png',
algolia: {
apiKey: process.env.ALGOLIA_METRO_API_KEY || ' ',
apiKey: 'd51e7fbd21ccab3db4c83f0f736f6a3a',
appId: 'T38HJZTD87',
indexName: 'metro',
},
gtag: {
Expand Down

0 comments on commit c4c3782

Please sign in to comment.