Use relLangURL for content paths

This commit is contained in:
Will Faught
2023-08-12 14:13:18 -07:00
parent 30eaf84c66
commit 7fea12affc
2 changed files with 3 additions and 3 deletions

View File

@@ -64,9 +64,9 @@ if (paigeQueryElement !== null) {
function paigeSearch(queryText) {
paigeShow(paigeSearchingElement);
fetch("{{ absURL `index.json` | safeJS }}").then(function (response) {
fetch("{{ relLangURL `index.json` | safeJS }}").then(function (response) {
if (response.status !== 200) {
console.log("Cannot load /index.json", response);
console.log("Cannot load {{ relLangURL `index.json` | safeJS }}", response);
paigeHide(paigeSearchingElement);
paigeShow(paigeErrorElement);
return;