summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/core/search.js')
-rw-r--r--theme/javascript/core/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/javascript/core/search.js b/theme/javascript/core/search.js
index 0aca997..a5399d9 100644
--- a/theme/javascript/core/search.js
+++ b/theme/javascript/core/search.js
@@ -11,7 +11,7 @@ define([
// Load complete index
var loadIndex = function() {
- return $.getJSON("search_index.json")
+ return $.getJSON(state.basePath+"/search_index.json")
.then(function(data) {
index = lunr.Index.load(data);
});