summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/fuji.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/fuji.js b/assets/js/fuji.js
index 8074e2e..994119b 100644
--- a/assets/js/fuji.js
+++ b/assets/js/fuji.js
@@ -132,7 +132,7 @@ if (urlParams.has('s')) {
document.querySelector('.search-input input').setAttribute('value', key);
// get search index from json
let xhr = new XMLHttpRequest();
- xhr.open('GET', '/index.json', true);
+ xhr.open('GET', 'index.json', true);
xhr.responseType = 'json';
xhr.onerror = () => {
infoElements[2].removeAttribute('style');