diff --git a/static/src/js/search.js b/static/src/js/search.js index bac97ac..775d6f4 100644 --- a/static/src/js/search.js +++ b/static/src/js/search.js @@ -79,7 +79,7 @@ $(document).ready(function() { const initialSearchTerm = getInitialSearchTerm(); searchInput.val(initialSearchTerm); - $.getJSON('./index.json', function(data) { + $.getJSON('/search/index.json', function(data) { // populate the index searchIndex = lunr(function() { this.ref('id');