Skip to content

Commit

Permalink
fix(examples): use new infra credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Nov 9, 2021
1 parent 891fd88 commit 65d9414
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion examples/demo/src/App.js
Expand Up @@ -10,7 +10,8 @@ function App() {
<h1>DocSearch v3 - React</h1>
<DocSearch
indexName="docsearch"
apiKey="25626fae796133dc1e734c6bcaaeac3c"
appId="R2IYF7ETH7"
apiKey="599cec31baffa4868cae4e79f180729b"
/>
</div>
);
Expand Down
3 changes: 2 additions & 1 deletion examples/js-demo/app.js
Expand Up @@ -6,5 +6,6 @@ import '@docsearch/css';
docsearch({
container: '#docsearch',
indexName: 'docsearch',
apiKey: '25626fae796133dc1e734c6bcaaeac3c',
appId: 'R2IYF7ETH7',
apiKey: '599cec31baffa4868cae4e79f180729b',
});
8 changes: 4 additions & 4 deletions packages/website/docs/DocSearch-v3.mdx
Expand Up @@ -157,8 +157,8 @@ If you're eager to test DocSearch v3 and can't wait to receive your credentails,

```js
docsearch({
appId: 'BH4D9OD16A',
apiKey: '25626fae796133dc1e734c6bcaaeac3c',
appId: 'R2IYF7ETH7',
apiKey: '599cec31baffa4868cae4e79f180729b',
indexName: 'docsearch',
});
```
Expand All @@ -171,8 +171,8 @@ docsearch({

```jsx
<DocSearch
appId="BH4D9OD16A"
apiKey="25626fae796133dc1e734c6bcaaeac3c"
appId="R2IYF7ETH7"
apiKey="599cec31baffa4868cae4e79f180729b"
indexName="docsearch"
/>
```
Expand Down
4 changes: 2 additions & 2 deletions packages/website/versioned_docs/version-legacy/dropdown.md
Expand Up @@ -44,8 +44,8 @@ If you're eager to test DocSearch but don't have any credentials of your own yet

```javascript
docsearch({
appId: 'BH4D9OD16A',
apiKey: '25626fae796133dc1e734c6bcaaeac3c',
appId: 'R2IYF7ETH7',
apiKey: '599cec31baffa4868cae4e79f180729b',
indexName: 'docsearch',
});
```

0 comments on commit 65d9414

Please sign in to comment.