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 "{}" }} {{ $searchConfig := i18n "bookSearchConfig" | default "{}" }}
(function () { (function () {
const searchDataURL = '{{ $searchData.RelPermalink }}'; const searchDataURL = '{{ $searchData.Permalink }}';
const indexConfig = Object.assign({{ $searchConfig }}, { const indexConfig = Object.assign({{ $searchConfig }}, {
doc: { doc: {
id: 'id', id: 'id',