We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982b770 commit 833e3b1Copy full SHA for 833e3b1
packages/dev/docs/src/client.js
@@ -251,7 +251,7 @@ function DocSearch() {
251
if (key) {
252
let prediction = predictions.find(prediction => key === prediction.objectID);
253
let url = prediction.url;
254
- window.location.href = `..${url.replace('https://react-spectrum.adobe.com', '')}`;
+ window.location.href = `..${window.location.hostname === 'reactspectrum.blob.core.windows.net' ? '/docs' : ''}${url.replace('https://react-spectrum.adobe.com', '')}`;
255
}
256
};
257
0 commit comments