From 0f50648e48f588a1371c6026824acd0c5f6bbbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20L=C3=BCders?= Date: Thu, 1 Dec 2022 10:18:40 +0100 Subject: [PATCH] fix(search): searchDataURL must not use relative URL --- assets/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/search.js b/assets/search.js index 2d75fee..b9b5b56 100644 --- a/assets/search.js +++ b/assets/search.js @@ -5,7 +5,7 @@ {{ $searchConfig := i18n "bookSearchConfig" | default "{}" }} (function () { - const searchDataURL = '{{ $searchData.RelPermalink }}'; + const searchDataURL = '{{ $searchData.Permalink }}'; const indexConfig = Object.assign({{ $searchConfig }}, { doc: { id: 'id',