fix(search): searchDataURL must not use relative URL

This commit is contained in:
Ricardo Lüders 2022-12-01 10:18:40 +01:00
parent d5b75f4fb3
commit 0f50648e48

View File

@ -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',