temporarily revert test key removal

This commit is contained in:
Paul Wackerow 2022-11-29 19:01:59 -08:00
parent b95934f292
commit 454ce1cdb3
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
1 changed files with 4 additions and 3 deletions

View File

@ -3,9 +3,10 @@ import { DocSearch } from '@docsearch/react';
import '@docsearch/css'; import '@docsearch/css';
export const Search: React.FC = () => { export const Search: React.FC = () => {
const appId = process.env.NEXT_PUBLIC_ALGOLIA_APP_ID || '' // TODO: Replace Algolia test keys with '' when API key available for this repo (place in .env)
const apiKey = process.env.NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY || '' const appId = process.env.NEXT_PUBLIC_ALGOLIA_APP_ID || 'R2IYF7ETH7'
const indexName = process.env.NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME || '' const apiKey = process.env.NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY || '599cec31baffa4868cae4e79f180729b'
const indexName = process.env.NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME || 'docsearch'
return ( return (
<DocSearch <DocSearch
appId={appId} appId={appId}