« get me outta code hell

client, search: use new path for search index - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-26 21:21:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:44 -0300
commit1daf5caea096b3160ebc51c43eda633f1059e2be (patch)
tree52aa3097a0a17713fb65de50a256fe6418428aac
parentd1f036182b17b9e27c986e152949a75187d8eb07 (diff)
client, search: use new path for search index
-rw-r--r--src/static/clientSearch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/clientSearch.js b/src/static/clientSearch.js
index 13a34528..a10d3855 100644
--- a/src/static/clientSearch.js
+++ b/src/static/clientSearch.js
@@ -22,7 +22,7 @@ async function initSearch() {
   };
 
   const searchData =
-    await fetch('/media/search_index.json')
+    await fetch('/search-data/index.json')
       .then(resp => resp.json());
 
   for (const [indexName, indexData] of Object.entries(searchData)) {