diff --git a/static/js/quick-search.js b/static/js/quick-search.js index c7faa87..7ca3f09 100644 --- a/static/js/quick-search.js +++ b/static/js/quick-search.js @@ -20,16 +20,16 @@ let apiKey = ""; if (location.hostname === "localhost" || location.hostname === "127.0.0.1" - || location.hostname === "beta.craigoates.net") { - server = "http://beta-search.craigoates.net"; + || location.hostname === "beta.nera.com") { + server = "http://localhost:7700"; apiKey= "meilisearch-beta-key"; } else { - server = "https://search.craigoates.net"; + server = "https://www.nera.com"; apiKey = "meilisearch-production-key-26-07-2022"; } const search = instantsearch({ - indexName: "project", + indexName: "nera", searchClient: instantMeiliSearch( server, apiKey, @@ -50,7 +50,7 @@ search.addWidgets([ container: "#hits", templates: { item: ` - + {{#helpers.highlight}}{"attribute": "title"}{{/helpers.highlight}}