Browse Source

remove unused hostname check from quick-search.js file.

This is old code essentially and is no longer used.
stable
Craig Oates 1 year ago
parent
commit
97293d886d
  1. 3
      static/js/quick-search.js

3
static/js/quick-search.js

@ -19,8 +19,7 @@ information).
let apiKey = "";
if (location.hostname === "localhost"
|| location.hostname === "127.0.0.1"
|| location.hostname === "beta.nera.com") {
|| location.hostname === "127.0.0.1") {
apiKey= "meilisearch-beta-key";
} else {
apiKey = "meilisearch-key";

Loading…
Cancel
Save