1
0
Fork 0

fix(examples): use new infra credentials

This commit is contained in:
Clément Vannicatte 2021-11-09 09:23:10 +01:00
parent 891fd88d1b
commit 65d9414fce
4 changed files with 10 additions and 8 deletions

View file

@ -10,7 +10,8 @@ function App() {
<h1>DocSearch v3 - React</h1> <h1>DocSearch v3 - React</h1>
<DocSearch <DocSearch
indexName="docsearch" indexName="docsearch"
apiKey="25626fae796133dc1e734c6bcaaeac3c" appId="R2IYF7ETH7"
apiKey="599cec31baffa4868cae4e79f180729b"
/> />
</div> </div>
); );

View file

@ -6,5 +6,6 @@ import '@docsearch/css';
docsearch({ docsearch({
container: '#docsearch', container: '#docsearch',
indexName: 'docsearch', indexName: 'docsearch',
apiKey: '25626fae796133dc1e734c6bcaaeac3c', appId: 'R2IYF7ETH7',
apiKey: '599cec31baffa4868cae4e79f180729b',
}); });

View file

@ -157,8 +157,8 @@ If you're eager to test DocSearch v3 and can't wait to receive your credentails,
```js ```js
docsearch({ docsearch({
appId: 'BH4D9OD16A', appId: 'R2IYF7ETH7',
apiKey: '25626fae796133dc1e734c6bcaaeac3c', apiKey: '599cec31baffa4868cae4e79f180729b',
indexName: 'docsearch', indexName: 'docsearch',
}); });
``` ```
@ -171,8 +171,8 @@ docsearch({
```jsx ```jsx
<DocSearch <DocSearch
appId="BH4D9OD16A" appId="R2IYF7ETH7"
apiKey="25626fae796133dc1e734c6bcaaeac3c" apiKey="599cec31baffa4868cae4e79f180729b"
indexName="docsearch" indexName="docsearch"
/> />
``` ```

View file

@ -44,8 +44,8 @@ If you're eager to test DocSearch but don't have any credentials of your own yet
```javascript ```javascript
docsearch({ docsearch({
appId: 'BH4D9OD16A', appId: 'R2IYF7ETH7',
apiKey: '25626fae796133dc1e734c6bcaaeac3c', apiKey: '599cec31baffa4868cae4e79f180729b',
indexName: 'docsearch', indexName: 'docsearch',
}); });
``` ```