This commit is contained in:
Westly Wright
2018-07-03 12:29:41 -07:00
parent c6445d191e
commit a9ffdf4dae
2 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ const bootstrapDocsSearch = function() {
const search = instantsearch({
appId: '30NEY6C9UY',
apiKey: 'b7f43c16886fec97b87981e9e62ef1a5',
indexName: 'dev_docs',
indexName: window.location.host === 'rancher.com' ? 'prod_docs' : 'dev_docs',
routing: true,
});