Commit cfcb3a2
authored
Fix preconnect link to target search cluster (#3980)
The `appId` was retrieved from props but the `<Search>` component is never instantiated with props. So the preconnect link targeted an unknown search cluster:
```html
<link rel="preconnect" href="https://undefined-dsn.algolia.net" crossorigin="true">
```
This fixes the preconnect link by getting the `appId` from the website config.1 parent 011f587 commit cfcb3a2
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
| 95 | + | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
0 commit comments